Ensure PEP8 compliancy, add docstrings, remove (currently) unused functions.
Fix TypeError bug when RESTfulCollection.find() returns no documents.
Accept trailing slashes for main collections.