LB-873: blog media

This allows linking media to blogs, with specifying type of the linking and the rank.