Adding a genre section

At the moment it is coded for definitely existing custom_column named genre.
I guess it would be quite better to check if an coustom_column named genre exists and pull the name/id from metadata.db.

Also the genre-specific code should only be included if an custom column "Genre" exists.