Add ability to add pages to spamlist view

Also change some Html::rawElement to Html::element and mw.msg to
mw.message

Change-Id: I9c1eb5370f0b7e44bb6b1afebed0922a8641a663