Database manager

@isupeene Working Database manager that is tested. Still needs contracts.

Note: Need to run database_clear.sql and then database_setup.sql on our DB before submitting.
Hm, I also return Stat objects from leaderboards. but they are also very dictionary like so I can probably convert them to dictionaries as well.