Added ::is<T> member function to LuaRef

for consistency with the Stack::is_a function
a is<T> member function has also be added to
LuaRef to check for custom types.