rt: Add class caster helper function
semantic: Use vrt_handle_cast to fix segfaults when dynamically casting null
test: Add bugs 15, testing null object casting.