Fixing metadata dictionary bug

When converting database row objects into dictionaries, metadata items
with the same keys were being merged into a single key/value pair,
potentially losing many values.
This is now fixed by building lists of values using defaultdict.
Merge pull request #91 from dannybutler/master

Fixing metadata dictionary bug
Merge pull request #92 from alexanderson/master

Changed DB to notify Alembic what version it is
Adding SQL arguments back into SQL string

Had to modify the SQL Arguments table to store the index of the SQL arg
as they were getting mixed up.
This made it impossible to put them back into the SQL string for display
on the individual SQL statement page.
Merge pull request #93 from dannybutler/master

Adding SQL arguments back into SQL string
Moved new thread functionality to incoming packet handler
Added new DB tables for fn names/sql strings + sql stack association
Quick pstats print out

Print out raw pstats info to individual call stack page.
Whoops, didn't mean for that sleep
Merge pull request #94 from dannybutler/master

Quick pstats print out
Adding automatic Alembic stuff

Alembic stamp and upgrades now happen automatically on server start.
Shouldn't ever have to run alembic from the command line manually.
Fixing client side thread crash

If the server goes down temporarily or the client just cannot connect
for whatever reason, the client side flushing thread was crashing.
This error is now caught to stop this crash.
Attempt to make the config file a bit more human readable.
Using Alembic api instead of sys.command

This is causing cherrpy logging issues for some odd reason.
I'll look into it later.
Updating readme to account for alembic changes
Merge pull request #95 from dannybutler/master

Adding automatic Alembic stuff
Slightly better description
Merge pull request #96 from alexlatchford/alter-config

Try to make the config file more user friendly :)
Attempt to make the config file a bit more human readable.
Slightly better description