Make the upgrade order of CustomElements polyfill top down instead of bottom up.

Fixes #85
README: custom element callback renames
listen for HTMLImportsLoaded only if HTMLImports.ready is false
test for detachedCallback firing without attachCallback
Add multiple insert test for attachedCallback
use same console grouping as inserted
Keep track of inserted/removed for every upgraded element

The code that counts the inserted/removed state must not be gated on callbacks since the attached and detached
callbacks can be set without its the twin, which would break the counting code.

Fixes #89
Rewrite inserted and removed clauses to match old semantics
Merge pull request #90 from azakus/detach-without-attach

Fix inconsistencies with Detach and Attach callbacks when only specifying one of the pair
registering an element after an import has loaded will now upgrade the element inside the import.
Helps address https://github.com/Polymer/polymer/issues/399
tests: document.register > document.registerElement
Merge pull request #92 from addyosmani/fixRegisterElement

tests: document.register > document.registerElement
stub out upgradeDocumentTree when under native.
Merge pull request #86 from azakus/upgrade-order-top-down

Make the upgrade order of CustomElements polyfill top down instead of bottom up.
when HTMLImports is available, make use of its import parsing hook to upgrade import documents.