Made suns and planets distinct entities.

Before this, a sun was an entity with hasGravity set to true and a
planet one with hasGravity set to false. Now isPlanet and isSun
determine whether an entity is respectively a sun or a planet, or
not.