Localizet time and date in TripOptions

A lot of juggling between datepicker time format and moment.js time
format is needed.
Changed some timeFormats

From config.timeFormat to config.locale.time.time_format
Updated analyst query for local_time config

Query has to be send in ISO date format which is converted from local
one