updated for compliance with latest spec - lifecycle callbacks moved to prototype, is= support for extension of native elements, removal of legacy replace/upgrade bubbling events