title text and image graying fade on hover

this effect is primarily for image and media posts
moved class list compilation to end of html gen

this way you can continue to add classes through the entire post parsing
routine. also added a class "thumbed" to be applied to nodes which have
an image background