crag reporting
added functions for report logging and stats
few homepages changes
added sql for reports table
bug fix for header redirect
added option to add crag report
updates