Improved checks for uploaded resources

Tests that user is logged in, data are valid and conform to the scheme,
      etc etc, have been moved into the `check_upload_data` in the
      `checks.py` file. This simplifies the code in `api.py` a bit.
Documentation and README

Added an autofunction for the check of resources being uploaded