Identity hasRole

set identity accept array

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.

Added some tests.