Correctly form slugs for files with spaces in their names
Adapts document slugs to the way gridfs stores filenames
Merge pull request #41 from flavioamieiro/bugfix/document-slug-generation

Bugfix/document slug generation