lastgenre: remove duplicate genres

original issue: #805

- add unit test to check no duplicated genre is present in output
- remove duplicates from tags list