CRAFTERCMS-546: 'Edit' link is displayed depending on user's role

User role permissions are now checked in order to display the 'edit'
links for the different items in the dashboard widgets
Merge pull request #133 from quiaro/2.2.x

CRAFTERCMS-546: 'Edit' link is displayed depending on user's role