Added the ability to pass an element as the handle

Added the ability to pass an element as the handle. This enables
Polymer ShadowDom elements to be used as the handle as well.