Note: limit title length to 40 characters
Notes: don't trim content
Note: use trimmed contents for getting note title
Merge branch 'notes' of github.com:owncloud/apps into notes