Improved versioning. DB table change.

- Added 'DBVersion' table to track database versions for migrating
- Added 'version_int' to strlib.txt and modified 'version'
Added sqllib.txt for SQL statments and minor changes.

- Added sqllib.txt to store SQL statments and added new CREATE VIEW
  statements
- Added new code to read and store SQL statements from sqllib.txt
- Slight change in variable scopes in some file loading methods
Added some usage of sqllib.txt and views.

- Replaced DB table creation with statements loaded from sqllib.txt
- Replaced DB statement in loadDBPlayerRecord() with views
- Added view creation in initDB()
Fixed TPPot table and added new migration.

- Changed the 'pot_id' column to 'id' in TPPot
- Added table change to migration from v0.3.9
- Slight modification to migration so that it won't attempt to insert
  records for existing nicks and thus not fail
Added DBVersion checking and updating for migration.

- Checks if the DB is already up-to-date
- Adds a new record to DBVersion at the end of a successful migration
Fixes for migration and sqllib.txt.

- Made changes to 'migrate' command to make modification of TPPot work
- Added check to avoid attempting to add duplicate records in BJHouse
  during migration
- Changed tokenizer char in sqllib.txt to '|' to avoid conflict with '='
  in some SQL statements
- Added more SQL statements to sqllib.txt
Fix for negative call values in poker.

- Fixed negative call values for instances where a non-big-blind player
  goes all in pre-flop with a stack less than the big blind bet
Minor refactoring of TexasPoker.call()
Added devoicing of joined users on nick change.

- Users joined to a game will now be devoiced immediately upon changing
  their nicks to avoid remaining voiced if a rejoin fails
More database-related changes. Small fixes.

- Moved most SQL statements to sqllib.txt and updated statement retrieval
  within all classes
- Small fix for 'fleave' command
- Updated text for 'trim' command
- Added PlayerPurseView view to stats.sqlite3
- Fixed SQL statements for bounds on retrieving top players
- Updated SQL statements to use views where applicable
Moved database updates to CardGame.initDB().

- Moved updating of stats.sqlite3 to CardGame.initDB()
- 'migrate' command now only migrates data from players.txt and
  housestats.txt
- Removed versioning from strlib.txt and hard-coded it instead
Updated version string. Small fix.
Merge branch 'testing'