step one of date math
Start a test for addDate
Finish up date math
Code style
Merge pull request #1811 from elinw/datemath

Add a date addition/subtraction method to JDatabaseQuery