Some fixes/additions

* fixed flipped tile objects causing a crash
* added tile and instance references as a Fixture UserData
* fixed wrong tile flipping and collision object generation (not ready to be pulled)