More updates to reports

Added the ability to save and run reports. This included the addition of
a new table in the DB which required the creation of reportsLib.php to
manage that table.

Additionallyreport.php has been renamed to generateReport.php