Git commits in Moodle 2.6.5 by David Monllao

commit 924cc85e088c62d4bea102233fa4199478b9fe77
Author: David Monllao <davidm@moodle.com>
Date:   Thu, 24 Jul 2014 11:15:36 +0800
Tag:    v2.6.5

MDL-46504 libraries: Fixing typo

commit e946e06322d23f9d42232e295d030515e2b644fc
Author: David Monllao <davidm@moodle.com>
Date:   Mon, 14 Jul 2014 12:13:41 +0800
Tag:    v2.6.5

MDL-43390 files: Only lock when locking is not prevented

commit 00e1213a819b5be7a219313b35c67bd80f04e09d
Author: David Monllao <davidm@moodle.com>
Date:   Mon, 30 Jun 2014 16:55:57 +0800
Tag:    v2.6.5

MDL-31089 mod_forum: Filtering non-visible groups