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
Update html.php

countMenuChildren can't return anything but zero, because the query is never set. This change sets it.
Merge pull request #1844 from Paladin/patch-1

Update html.php
Add UNION ALL
Merge pull request #1816 from elinw/unionall

Add Union All to JDatabaseQuery
Merge pull request #13 from joomla/staging

Staging