Redone the notifications to work with the new Request model.
Note that it might be necessary to introduce a templatetag that translates a internal role_name to a real verbose name. However this will do fine for now.
/**
* A test constructor.
* @constructor
* @ignore
*/
function Ignored() {
/** a method */
this.bar = function() {
}
}