Added commands to generate reports from database and base command class

and why not just print header in first row and then only values, separated ex. by tab (or multiple tabs)? Sth like http://oneau.wordpress.com/2010/05/30/simple-formatted-tables-in-python-with-texttable/