Enable functions to support their own properties.
Allows functions to be passed into lua_next.
Merge pull request #11 from tessel/tcr-fnprops

Enable functions to support their own properties.