Corrected the return of duplicate occurences of some entity flag types.
Initial versio of basic tests.
Provided basic tests and added documentation for changed code.
Fixed caching issue in basic tests, created permission role instead of multiple permission settings.
Removed unused Entity display.
Converted hook_help() paths to routes.
Fixed a type on UserFlagType.
Added tests and now checks that cache key is only added if flag is displayed.
Merge pull request #15 from md-systems/addingTestsAndDocs

Added basic tests and flagging permission access check
Merge pull request #18 from yanniboi/fix-typo

Fixed a type on UserFlagType.
Merge pull request #17 from md-systems/hookHelpConvertedToD8

Converted hook_help() paths to routes.
Merge pull request #16 from andypost/master

Clean-up Flag entity doc blocks
Merge pull request #14 from md-systems/fixedDuplicateFlagTypeOccurences

Corrected the return of duplicate occurences of some entity flag types.
Fixed error on/admin/structure/types/manage/page (temporary solution, see @todo) and replaced non-existent functions canFlag/canUnflag with hasActionAccess.
Merge pull request #19 from md-systems/fixErrorsStructureTypesManageEdit

Fixed error on/admin/structure/types/manage/page (temporary solution, se...
Added basic events support for flag, unflag, and delete.
Added permission check for flag link.
Fixed flag (and flag count)  deletion when node is deleted. Fixed saving/updating/deleting flag counts.
Added permission check for flag link.
Updated commenting.