Language Reference and Standard Library Reference updates

Signed-off-by: Richard Taylor <richard.taylor@lexisnexis.com>
Merge pull request #3937 from RichardTaylorHPCC/gregorian

Language Reference and Standard Library Reference updates

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>