Disable smooth scaling by default on Pandora.
Fix crashes with entities deleted without checking refcount (fix #305).

This bug appeared in commit aecdfce, which exports more entities to Lua.
Add a method map:get_music() (fix #306).
Reindent.
Merge remote branch 'origin/master' into sdl2
Pixels can have both colorkey and alpha channel