Fixes #58 - Allow passing of objects that contain getters and setters as...

... the prototype definition.
It would be good to pre-cache this definition at the time of component definition rather than for each element the definition runs on.