Aggregations: Fixed DateHistogramBuilder to accept preOffset and postOff...

...set as Strings

This is what DateHistogramParser expects so will enable the builder to build valid requests using these variables.
Also added tests for preOffset and postOffset since these tests did not exist

Closes #5586