Fixes for various invalid type conversions
Merge branch 'feature/warningfix-badcast-decoratorhandle' of https://github.com/dwimsey/libRocket

This merge fixes some warnings and a bad cast which can cause pyinvader compilation to fail under strict compilers.

Signed-off-by: David Wimsey <david@wimsey.us>