Updating DOM apis to align with deprecations in dart:html

1. and added a couple things to Node
2. and moved `id` where it belongs
3. and fixed an analysis error