Split Polymer-based UI lib from the IDE using it

This is mostly just a mechanical split. The Polymer-based UI is not activated here yet (that's coming up in a different CL to simplify the reviewing process).