Added auto-upload code for the website.

Added one boolean command line option "upload".
Uploading will only be activated if noth the sampling option and upload option are set.
Added a sample configuration file to show how to configure auto-uploading.
Currently only support MySQL and Postgres. More DBMS support can be added by adding more subclass of DBParameterCollector and expand the if-else statement in DBParameterCollectorGen.