Set permissions on resources for activities.
Adding the "restrictForOwner" option to the picker.
Merge branch '3.0-dev' of https://github.com/claroline/CoreBundle into activity-permissions

Conflicts:
	Controller/ActivityController.php
	Form/ActivityType.php
Fixing resourceinput.js
Fixing user repo findAll()
Merge pull request #708 from ngodfraind/activity-permissions

Activity permissions