Clean up Blogs

The attached commit replaces the use of officially deprecated globals like $wgTitle with the corresponding IContextSource or SpecialPage method, and updates old wfMsg* functions to their new counterparts. Some global variables called but never used are also removed.

The commit should be in line with recent MW standards & Nirvana&mdash;if that's not the case, please close.