Cleaner handling of CanCan permission errors.

Should redirect to homepage and show error message instead of
erroring out completely.