refactor content list

Content lists are one of the central UI elements in adhocracy. However the code is a bit messy. I tried cleaning it a bit by refactoring the css and fixing invalid html. I removed some special case css rules because the result looked buggier with than without them.