Fix jquery-datatables search
Extract functions for Google Maps and jquery-datatables initialization code
Implement `has_scope`.

Also remove dead #show/#next/#prev actions from SegmentsController
Upgrade jquery-datatables to 1.10 syntax