Upgrade to Polymer 0.5 and minor changes

- Upgrade to Polymer 0.5
- Expose an attribute to disable the periodic check to detect if
  the component has changed its size