Enhance stats graph page functionality
Enhance stats graph page functionality

- Add Sync Zoom checkbox and functionality.
- Add Sync Rolling Avg text field and functionality.
- Add forward and back buttons to Date field.
- Clean up code: better function names, uniform brace conventions,
camelCase identifiers, uniform indentation, etc.
- Server restart annotations not yet implemented.

dougkerr/surveillance,dougkerr/surveillance,dougkerr/surveillance,NeighborhoodGuard/communityview,dougkerr/surveillance,dougkerr/surveillance,NeighborhoodGuard/communityview,NeighborhoodGuard/communityview,NeighborhoodGuard/communityview,NeighborhoodGuard/communityview