Give ReturnLogin and UseReturn their own file.
Create a wrapper for the F-list v1 API.

This is meant to be relatively readily changeable for v2, albeit
that using character IDs everywhere will be much worse.
Also change the login stuff some.