Modified the code to work using sqlite3.

Changes:
README.md is now more friendly to novice users.
Database format now uses unix epoch time.
Database now takes care of order uniqueness and updating.
SQL statements updated to account for changes.
PHP now converts time to unix epoch for the database.

To test:
Make sure 'orderhistory' works correctly.
Fixed an issue with Order History SQL.

Everything should work now.