Fix term names according to specification.

Since now the images, flavor and secgroups categories and links are
based on the ID, we have to adapt all the code to reflect this change.

Closes #38