Fixed error on/admin/structure/types/manage/page (temporary solution, se...

This patch contains a fix for the error messages on "/admin/structure/types/manage/page":
- Replaced functions canFlag() and canUnflag() with the recently added function hasActionAccess().
- See todo comment: "Revisit when form functionality is implemented.".