Update Polymer to 0.1.2

Code taken from https://github.com/Polymer/polymer/releases/0.1.2 and
https://github.com/Polymer/platform/releases/0.1.2