Add the possibility to choose if a category is anchored or not.

Bug fix: [no]
Feature addition: [yes]
Backwards compatibility break: [no]
Phpspec specification passes: [no]
Checkstyle issues: [no]
ChangeLog updated: [no]
Fixes the following issue:
@BitOne In this case, $context['is_anchor'] is always set?