Added template variables articlename, discussionname and isarticlepage.

This is just for consistency and completeness.
Merge branch 'hasmessages'
Merge branch 'discussionUrl'