qtscript: Allow addLabel() to work on all label types. Speed up some object lookups with type info.
qtscript: componentAvailable() can now only take a single parameter containing the
component name - specifying the component type is now deprecated.
qtscript: Change group insertions to remove existing group membership
instead of ignoring insertion if already member of a group, to make it
work the same way as in 3.1. This closes ticket:3902.
qtscript: When asking for ALLIES or ENEMIES in enumRange() and enumArea(),
do not include features in the results. This closes ticket:3899.