Add a method `hasprop` to Lua objects to check if a property exists
Merge remote-tracking branch 'laarmen/hasprop_method'