Added foreign key constraint on user_id
Made creatable resource types list dynamic
Merge branch 'master' of github.com:claroline/Claroline

Conflicts:
	src/core/Claroline/CoreBundle/Controller/ResourceController.php
	src/core/Claroline/CoreBundle/Repository/AbstractResourceRepository.php