Fixed profile reference error for StatsTool
Merge pull request #13 from alexanderson/master

Resolved total time issues by converting profile to pstats
Merge remote-tracking branch 'upstream/master'

Conflicts:
	client/stats_profiler.py
Committing Alex's pstats changes
Renaming client folder to stats
Merge pull request #14 from dannybutler/master

Renaming client folder to stats
Adding database updates

Sender, MethodCall and CallStack tables updated to comply to new config
and json structure.
Merge pull request #15 from dannybutler/master

Adding database updates
Adding ignored_handlers to config

Can now add ignored handlers to the config file if you're getting
spammed with unnecessary information when flushing stats.
Merge pull request #16 from dannybutler/master

Adding ignored_handlers to config
Adding setup stuff

Added setup files and folder structure.
To create a distributable package, run "python setup.py sdist" whilst in
the setup folder.
To install straight from the setup folder (or the extracted package) run
"python setup.py install"

Also, when adding/removing/moving files from now one, the MANIFEST and
setup.py files will need to be modified accordingly or the install will
break.
Merge pull request #17 from dannybutler/master

Adding setup stuff
Splitting stats_profiler into two

Stats profiler now split into two files: function_profiler.py and
handler_profiler.py
Will now only initialise one or both if config file has values for
'functions' or 'handlers' keys.
Merge pull request #18 from dannybutler/master

Splitting stats_profiler into two
Adds DB monitoring
Separates submodules
reduces code reuse
Changing config for testing.
fixed some bugs
changed url for json output based on stat package type.
Added compression functionality
separates fn and handler outputs more