Added moment.js. Refs #1
Use moment JS to get the date sorting right. Fixes #1
Wipe cache when logging out.