Support moment.js when parsing/formatting dates

This closes #24