Adding API to return json with logger data. Necessary for collector.
Updated API json format.
Changed API granularity: removed ndays, introduced nhours.
Merge pull request #4 from PanDAWMS/master

Adding PBM API.