Change in query protocol.

Change query protocol, if startTime and endTime is not specified then return data for last 20 minutes (time is configurable as application property).

Add getter methods in AdInfo for JSON encoder to include values in output.

Make HDSApplicationTest pass