Fix compiler error in ImageDatabase.
Refinement of the database API.

 - Allow renaming of Tags.
 - Allow to make Tag hierarchies.

Conflicts:
	src/idbc-core/idbc/core/db/ImageDatabase.java
	src/idbc-core/idbc/core/db/Tag.java