TagManager updates:
 - deleteMainTag() - user can delete main tag if there are no files assigned with that tag
 - minor interface changes
 - documentation
TagAssigner updates:
 - bugfix for changing main tag
 - documentation