Identity hasRole

Add a view helper 'hasRole' to directly check the current identity against a role.

Changed 'isGranted' view helper config as i find it more simple.

Add some tests.