Refactoring:
  - using joda time for all range computation
    -> accounts for dst, months and leap years
  - simplifying range computation
added json constructor with 3 args in Sampling