Merge branch 'develop' of github.com:CenterForOpenScience/osf into develop
Merge branch 'develop' of github.com:CenterForOpenScience/osf into develop
Merge branch 'develop' of github.com:CenterForOpenScience/osf into develop
Merge branch 'develop' of github.com:CenterForOpenScience/osf into develop
Merge branch 'develop' of github.com:CenterForOpenScience/osf into develop
Move Piwik provisioning into a Celery task.
Add Piwik tasks to source control.
Move storage setup into separate Celery import.
Defer Celery tasks until request teardown.
Show statistics on private nodes.
Revert preprocess request in base test cases.
Merge branch 'develop' of github.com:CenterForOpenScience/osf into develop
Start the first function
Move Celery setup and teardown into signals.
Add functionality described in docstrings to GitHub.branches()
Passing a branch into GitHub.branches() should provide a single branch
as the return value. As originally written, that argument was ignored,
and a list of ALL branches was returned. I changed it so that, if that
argument is passed in, a one-item list is passed back, with the specified
branch.

I went with a single-item list because check_permissions in github/utils.py
assumed it was receiving a list (specifically) and (generally) because it
made the return values more consistent.
Merge branch 'develop' of github.com:CenterForOpenScience/osf into feature/github-permissions-tests
Add tests for github.utils.check_permissions
Re-add utils.py; accidentally deleted it
Fix spacing
Show privacy alerts on 'files' and 'sharing' project pages

Pass 'primary=True' to _view_project where it
is first called when rendering the files and
sharing pages.

Closes CenterForOpenScience/openscienceframework.org#1263