Update components to 0.5.1 

Also: replace platform.js with webcomponents.js.