add various useful methods and properties from the polymer base class

fixes https://github.com/dart-lang/custom-element-apigen/issues/5 (although it doesn't implement the specified methods, they aren't really useful from outside an element)