Add support for custom policy namespace lookup from controllers and view...

...s. Fixes #178