AI planning in the imagination: High-level planning on learned abstract search spaces