Improved the AJAX procs and added AJAX tests
Fixed minor html bug, added app_id support to addhits
Added appid support to the chart etc. Now it works fine for a YEARS granularity. Not yet for other granularities