Add support for custom policy namespace lookup from controllers and views. Fixes #178