fix lua register not registering constructor if no method exist
register constructor in front of methods
Merge pull request #94 from dplusic/develop

fix lua register not registering constructor if no method exist