MDL-12600 , MDL-11191 - rewritten permission tests to be xhtml strict compatible; merged from MOODLE_19_STABLE
MDL-12600 , MDL-11191 - rewritten permission tests to be xhtml strict compatible; merged from MOODLE_19_STABLE

dilawar/moodle