bug fixes, see extended description

Fixed post_item passing to mime-icon function and BASE dir of icons being displayed. Added class to the icon