Use document.registerElement() rather than document.register().
Matches latest spec.  Fixes #114.
Rename createdCallback(), enteredViewCallback() to created(), enteredView().
Matches latest spec.  Refs #114.