Update Polymer to 0.2.4

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