paths: fixed get_tmp_dir() logic to avoid boost::filesystem segfault
paths: coding improvements

* Removed usage of "using namespace std"
* get_database_path() checks validity of database before returning path
pokehack: added POKEHACK_API to get_block_checksum()
game_save: improved Gen 3 validity check
paths: fixed get_tmp_dir() logic to avoid boost::filesystem segfault
paths: coding improvements

* Removed usage of "using namespace std"
* get_database_path() checks validity of database before returning path
conversions/pokemon: added move PPs
prng: better management of static members
Merge branch 'proper_gen3_checksum'