Handle indirect prototype references in Polymer invocation

Fixes #82 Element name could not be inferred error on paper-button