Removed unnecessary divs and styles.
Corrected caption shortening.
Corrected distinct select for tags.
Corrected tags filter. It is not case sensitive now.
Corrected tests (missing take for expected results).
Overloaded setter: Tags collection in query removes duplicates on set.
Merge branch 'refactoring'