Add Analytics plugin

Create analytics plugin, with controller, view, and main navigation tab
Fix spelling mistake.
Add Chart.js to hooks
Add chart template
Add json controller, pie chart
Update json formatting
Remove chartjs
Add pie chart view
Add flot libraries
Add flot libraries to ushahidi
add analytics json controller
move json controls to json controller
Add different chart views
Seperate database queries from controller
remove date conversion
Add different chart views, categories are static
Fix sql error
Add hardcoded plots
Add time library
Add flot time library