export-site.py now detects tenant ID automatically from the site identifier given, when a URL is specified as the identifier (partial fix for #1)
Ensure that the correct nodeRef is returned from the treenode API on cloud, when a tenant ID is inserted into URIs
Ensure that exceptions get raised when non-404 errors are encountered during an export
Populate Alfresco-CSRF-Token header from cookie value when available, for non-GET requests
Fix debug logging not working for HTTPS sites
New options --no-metadata, --no-memberships, --no-pages and --no-dashboard for export-site.py to select exactly which metadata is populated into the JSON file
Re-enable debug logging for plain HTTP connections
CSRF token must be sent using Alfresco-CSRFToken header, not Alfresco-CSRF-Token
Add default timeout of 5 mins (300s) to the client, can be overidden when instantiating the client if required
Externalise CSRF token name, remove debug statements
Add a timestamp prefix to the 'export' container name when we create it

This allows us to still do exports in the future if an old 'export' container was left over (since the treenode webscript no longer returns any children for the export container, so the delete-if-already-present behaviour for ACP files does not work)
Better attempt to determine if the discussions container is empty or not. Fixes #4.
Replace urllib.quote(str()) with urllib.quote(unicode()) - fixes #5
Allow --tenant parameter to be passed in to scripts, to set the tenant or network ID
Additional --cloud option to allow export-users.py to work with Cloud
Raise an exception if 'status' object is provided in the JSON reponse and if the status 'code' value is > 399
Cloud compatibility and no-create mode for import-users.py
  - Multipart uploads now append CSRF token as a URL parameter
  - Add --cloud switch to import-users.py which can be used to switch to using invite scripts
  - Add --no-create switch to import-users.py to allow existing users to be updated
  - Refactor CSRF token fetching into a utility method
Automatically work out the name of the Sites folder - see #6
Merge branch 'cloud2'

Conflicts:
	shareclient/alfresco.py
Fix syntax error in export-site.py