Started making database functions more consistent, adding more
More additions/improvements, added CONNECT_TO_DB() macro
Database namespace overhauled, ready to compile-test and propagate
Compiles, untested
Tested new functions
Merge branch 'database' into game_save_dev

Conflicts:
	lib/conversions/items.cpp
	lib/conversions/pokemon.cpp
database: check for game_index==0