Lots of updates to Tags, queries and functions

Better role mining, upgraded fields to 1000 char max, improved tag
queries, new functions for 11-proof numbers (unique number generation).
Added support for non-AD TagObjects, added activity + task to Tags.