fixed deprecated use of RAILS_ROOT, improved ReportItems join, removed unnecessary script files and rake tasks