Ongoing JulianDate refactoring.

1. Clean up documentation.
2. Make all relevant function take result parameters.