Introduce a Javascript client library

This is much needed so that other apps can store data in ownCloud.

  • Auth is provided via OAuth 2.0
  • Support CRUD operations for files and folders
  • Introduce extra features such as tags, comments, etc later

SailfishOS just announced that they have a cloud integration feature, but it only works with Dropbox and OneDrive…