Added some functions to access the boost::any of a component in an entity, or get a direct reference to the stored type.