detection and trajectory stats

introduced PositionFixStats and TrajectoryStats classes, with single
dao method to produce each: PositionFixStats contains start/end date,
count, daily mean, daily max; TrajectoryStats contains start/end date
and distance with more to be added. Separate JSON endpoints for AJAX
calls to show info on analysis page.