Added patch and test case for object prototypal inheritance

Variable parser did not allow access to prototypally inherited properties (like Backbone's inheritance model).  Changed "hasOwnProperty" check to "in" format.  It seems like this could break something, but all tests pass.