Implemented add/substract methods

Please add test with this as the test data: 
```
var timeRangeJS = {
  duration: "P2D",
  end: "CEIL_DAY($now)"
};
```