first revision of sundial

Works with current uploader code, not yet modified to include needed tideline functions.

@jh-bate or @cheddar please review. @cheddar would like me to merge and tag this and have the uploader depend on it before merging the uploader branch where I've removed the moment dependency and replaced it with sundial methods.
A nit, but Is the "NB" required?  I mean, all of the comment is of particular note and should be taken into account, right?  I'm not sure that NB ends up with special "caution" style formatting or anything on webpages either, does it?

Also, fwiw, it might be interesting to introduce a sundial date object.  I'm not sure how far the Date objects will get us, but it's easy to imagine a world where constantly converting from a Date/String/Number to moment, running some methods and converting back will end up being a meaningful performance hit.  It also might not happen.