Dynamic assertion for IsGranted plugin

Added the assert parameter for isGranted controller plugin + tests.

fixes #46 

Note : I don't think it's necessary in the view helper. I can't imagine to use a closure in a view.