WIP Guideguide as a library

Right now GuideGuide's logic is tied directly to the ui. This makes it difficult to add tests or port it to applications that don't support html panels (like Sketch, in theory).

This pull will abstract the GuideGuide logic from the UI and break things up into libraries.