Added permission check for flag link.
Added permission check for flag link.
Updated commenting.
Updated commenting.
Fix test group
Merge pull request #39 from md-systems/test-group

Fix test group
Merge pull request #24 from md-systems/fixedFLagPermissionView

Added permission check for flag link.
Fix redirect on reload controller.
Fix the destination path
Use route parameter instead of option
fix trailing whitespaces
Fixed flag deletion when user is deleted.
Corrected assertions.
Corrected assertions.
Merge pull request #23 from md-systems/fixedFlagDeltionWhenUserIsDeleted

Fixed flag deletion when user is deleted.
Merge pull request #34 from md-systems/redirect

#34 by Berdir: Fix to allow operation in a subfolder
Removed hooks from flag.api.php that were replaced by plugins and events.
Removed flag_fetch_definition(), flag_get_types(), replaced with FlagService calls.