Improve GetDataAvailability query:
- Add get time period from series table if data are available (first/last time stamp)
Merge pull request #134 from CarstenHollmann/refactor/getdataavailability

Improve GetDataAvailability query