UWSDEV-41: implementing front end javascript for showing/hiding access options based on the users selections.
UWSDEV-41: Add a select2 field for access groups on data file edit page.
Merge branch '41-restrict-access' of github.com:IntersectAustralia/dc21 into 41-restrict-access

Conflicts:
	app/views/data_files/edit.html.haml
UWSDEV-41: fixing merge
UWSDEV-41: Select multiple access groups for private data files.
UWSDEV-41: Display selected access groups in datafile show and edit pages.
UWSDEV-41: filtering access groups for list purposes to only show active groups.
UWSDEV-41: Add test for assigning access groups from data file edit.
UWSDEV-41: adding access definition to the file upload function. NOTE:::: still need to sort of the PUBLIC by default radio button option and also the ID generation for JS hide-show reasons!!!!!!!
UWSDEV-41: Authorise users with the right permissions to access data files.
UWSDEV-41: Enable/disable hyperlink for filenames and add to cart button according to user's access authorisation.
UWSDEV-41: Fix created_by check in Explore Data index page by adding field to scope.
UWSDEV-41: Add to cart and allow download only files authorised to the current user.
UWSDEV-41: Display alert for n access restricted files in add_all to and download cart.
UWSDEV-41: continuation of the implementation of the access control functionality of the create data file page. Fixing the JQuery so that it selects the right elements.
UWSDEV-51: Specify file access control params on API upload.
UWSDEV-51: Add tests for API upload and set most restricted access when multiple access parameters provided.
Merge branch 'master' into 41-restrict-access
UWSDEV-51: Search via API only returns files that the user is authorised to access.
UWSDEV-51: Fix broken tests with roles modified from Researcher to Institutional User.