upgrade polymer and refactor bower packaging