Revert "Unlink breadcrumb categories if they are the first item and DoHeadings is enabled."

This reverts commit fca808e18e5bc73fe842bcb8cf840c48f7b83586.
- Fix bug in CateogoryModel->GetWhereCache().
- Check settings view permission on me module.
Merge branch 'master' into feature/mega-opt