Merge pull request #11 from ngodfraind/default-resource-perms

Default resource perms
fix small bug
Merge https://github.com/solispauwels/CoreBundle into default-resource-perms