MDL-35991 - fix incorrect returnurl type

good catch, Adrian!
MDL-36600 Add missing sesskey check when previewing the message
MDL-36741 mod_forum: fixed the function forum_rss_newstuff that was using count_records_sql incorrectly as well as generating RSS content when no data exists
Merge branch 'MDL-36741_m22' of git://github.com/markn86/moodle into MOODLE_22_STABLE
MDL-37467 Do not provide blog posts via RSS when blogging is disabled
MDL-37430 Course - Make modules created in hidden sections visible when section is made visible.

Conflicts:

	course/lib.php

Conflicts:

	course/rest.php
	course/yui/coursebase/coursebase.js
	course/yui/dragdrop/dragdrop.js