Move CLI into middleman-cli

This will force us to expose a nice, public API for templates, builder and rack preview.

It will also allow us to lose the Thor dep in core.