Implementing moment.js

Updating Usages

Removing unused method

Adding JS Doc
Merge pull request #10647 from owncloud/implementing_momentjs

Implementing momentjs