Updated polymer.js and Platform.js to the most recent versions
Small refactoring to make web application more portable when moving folder structure around.
Just a spot of refactoring, mostly to tidy up namespaces etc oh and to fix some bugs introduced by the PolymerJS update
Few more fixes to code smells