Update actions.js

Updated paste resource action.
After pasting a cuted resource, this.checkedNodes.nodes is empty and all action buttons are disabled to avoid multiple paste of a cuted resource (this was causing an error)
Merge pull request #957 from ngodfraind/master

Fixing user csv import with roles.
Adds pager in workspaces tab of resource rights
Merge branch 'master' of https://github.com/claroline/CoreBundle into web-manager-role
Update ResourceManager.php

There was error when cutting multiple resources and pasting them in a folder.

Sometimes the next_id of a resource was not updated which causes an exception (unicity constraint). So we used  ```forceFlush``` instead of ```flush```
We also replaced ```removePreviousWherePreviousIs``` and ```removeNextWhereNextIs``` methods with simpler ones, but we don't know if it really do the same... Any way those methods seemed to do the same things multiple times...
Merge pull request #958 from kitan1982/web-manager-role

Adds pager in workspaces tab of resource rights
Merge pull request #959 from pitrackster/master

cut / paste ressources in ressource manager