Login, phase 1

* Move the actual UI elements for the login and connect windows into their own widget.
* Create a wrapper for the API.
* Change FAccount to use that API to get tickets with.

There's still stuff left undone, like connections still flowing through the main class, and most of the API wrapper is unimplemented.

Still, what's already done is ready for incorporation.