Added cast function to any type to handle non-const reference conversions.
Fixed the REGISTER_SPACE_OPERATION machinery, because the addition to the entity-by-type index in the space was indexing CEntity* classes instead of the individual types. Now it works.
Fixed little initialization bug in the LED entity class.
Added the default light sensor, and fixed the corresponding equipped entity.
Minor fix to light entity registration text.
Changed entity description of proximity sensor equipped entity.
Minor change.
New Lua-based test.