XWIKI-9400: use xwiki/2.1 syntax when using macros from the Blog.BlogCode

also encode blog pagename properly when used as url parameter
XWIKI-9400: one more place where url-encoding is needed
Merge pull request #144 from nedgot/XWIKI-9400

XWIKI-9400: Links in the Blog Archive page are broken