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