add swp files to git ignore filter
rework database tables and add api for account list

The database tables were changed to eliminate the separate Key table.
Placeholders for user and server tokens were added to their associated
tables.

The '/Player' api returns a partial list of the data associated with a
Go server account.

Also updated code for PEP8.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
add stubs for the server API

At a minimum, game servers need to be able to do the following on the
AGA rating server:
  - Obtain an access token.
  - Verify that players have a valid account.
  - Post the results of a game.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
implement the VerifyUser service

VerifyUser allows a server to confirm that it has a valid access
token for the given user and also that the user's account is still
active on the AGA server.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
implement the PostResult service

This api endpoint allows an authenticated game server to post the
results of a game between two active AGA members to the ratings
database.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
cleanup init and move config to separate file

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
PostResult: require date to be in ISO 8601 format

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
rename _basedir to basedir

This is not a private variable, so the leading underscore should be
removed.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
add testing framework and implement VerifyUser tests

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
add class to encapsulate API exceptions

This class is based on the example provided here:
    http://flask.pocoo.org/docs/patterns/apierrors/

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
provide better instructions for running unit tests

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
Merge pull request #2 from thenigan/db-update

Implement a couple basic endpoints (VerifyUser, PostResult) and create unit test framework