Fix bug in ThingImporter

We were casting and saving parsed enum properties in .thing files as
bools thanks to a typo.
Explicit double->float conversion

We were multiplying/dividing floats.
Use floats instead of double

Since Ogre uses floats for Ogre::Real anyway
Fix some more warning

while(true) -> for(;;)
Explicit float conversions
Merge branch 'dev' of https://github.com/Ponykart/PonyKart into dev