This should also fix an occasional fatal-error when all tasks on a page
are done.
We remove here also the $class from the button in the usertools, since
it served no apparent purpose.
SPR-936
This refactors the page-attribute area a bit and intergrates the new
ajax branch of the QC plugin. I'm not really happy about the included
file - it should probably be moved to our Template class instead.