Git commits in Moodle 2.2.x by Kirill Astashov

commit 1d8cd19d7219b9a2e9e35a718dbf5fc21dbb7039
Author: Kirill Astashov <kirill.astashov@netspot.com.au>
Date:   Mon, 06 Aug 2012 16:57:24 +0800
Tag:    v2.2.5

MDL-34669: Fix editor filepicker context bt trying to use page context