Update polymer.js to 0.3.1

Updated `platform.js` from https://github.com/Polymer/platform
Updated `polymer.js` from https://github.com/Polymer/polymer