WIP: date-arrays using moment.js

# DON'T MERGE THIS BRANCH (yet) :warning: 

@garbados this is an ongoing attempt to get moment.js to work inside of CouchDB & Cloudant. Your input would be *very* welcome.

I'm mostly interested in the `toArray()` bits of Moment.js, but obviously the others have value in both UI and `_list`/`_show` code.

Currently, there's an inline function `dateToArray` (that I wrote eons ago). It's currently in-lined...

Anyhow, let me know your thoughts. :open_book: