Great performance increase on transaction queries

This will address an issue with database including a lot of
transactions. No more nested queries that put unwanted strain on a DB.

Address #536
Fixing WHERE clause for getBalance call

Addresses #536
Refactored admin transactions

* Properly generate the bind_params statement
* Extended from Base Class
* Added methods to Base Class

Addresses #536
Refactored getTransactions, unified admin/user view

* Removed getAllTransactions method
* Unified getTransactions for users and admins
* Added filter abilities to user transaction view

This should speed up things a fair bit for transaction heavy pools.

Addresses #536
Adding archiving flag for transactions

* Added new column to transactions table (`007_transactions.sql`)
* Added setArchived method to mark old transactions as archived
* Honor archived flag in getBalance and getLockedBalance

This will further address and fix #536 once merged.
properly display auto-confirmed tx
adding index to archived column
Adding Admin MOTD

* Adding MOTD to admin settings
* Adding MOTD to smarty_globals as regular INFO popup

Fixes #545
Adding jQuery Mobile 1.3.2

* Adding new CSS and JS files
* Adding missing images
* Removing old version
* Updated master template

Fixes #553
Merge pull request #554 from TheSerapher/issue-553

Adding jQuery Mobile 1.3.2
Make block count on stats page configurable

Fixes #549
Merge pull request #555 from TheSerapher/issue-545

Adding Admin MOTD
Merge pull request #556 from TheSerapher/issue-536

Issue 536
Refactored admin panel settings

This will allow easier integration of new settings managed by the admin
panel. Includes setting types, tooltips, tabs etc.

No open ticket, just figured I'd add this.
Merge pull request #557 from TheSerapher/admin-settings

Refactored admin panel settings
Removed page generation PHP from settings

Committed those by accident, so removed.
fixing PPS locked balance
Refactored monitoring page

* Allow easier addition of new crons to the monitor list
* Make the data generation dynamic instead of hard to adjust lists

Fixes #559 upon merge.
fixing payout cron display
Merge pull request #560 from TheSerapher/issue-559

Issue 559