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