Shutdown database at the same time as server instead of after.
Added vanityname to schema and as getter.
Moved much of the logic out of dotaApi.js.

* Created a new class ApiCaller that handles api calling.
* Added a new class SteamIdParser that parses steam ids.
* Changed getPlayerData to getPlayerSummary as to reflect what it actually does.