Fixing Regex for rare playernames

Escape player names so players with a '?' or '+' in their name don't
cause the regex to fail
Database loader

First attempt at a database loader: loads players, games, game results
and preliminary statistics about cards into a mysql database. Loads an
entire local folder into the database. cards and games are loaded in
using functions that will probably be split off into another module
later.
bugfixes

incomplete changeover from splitting out function, fixed
add abort capability

Force script to stop on upload of abort.txt with contents "ABORT"
for debugging purposes
bugfixes and extensions

Add bugfix for getPlayers not retrieving correct amount of players if
they quit on the first turn, or if players resign (not quit), add better
support for shelters. (Shelters aren't in the supply, don't show up in
getCardsGained or getCardsBought, but show up in getCardsTrashed if they
are present)
fix non-standard start hand, shelters etc.

Extend trashing scripts to notice shelters, fix bug where game end
conditions would be misrepresented in adventures (if starting hand
includes province, for example) reorganize getCardsTrashed to be able to
be called per player
bugfixes- actually fix shelters

stop using strpos for shelters as it doesn't work for multiline strings,
pregmatch used instead
last shelter fix

more bugs found with shelters, fixed
fix prizes

error with prize gaining not working, fixed