bag: added cases for X and Y (matches Gen 5 games)
Overhauled database usage to improve efficiency

* Implementation classes have static SQLite::Database members
* Source files with database-related functions have static databases
* Removed unnecessary SQLiteC++ includes
io: fixed EV/IV special imports