Git commits in Moodle 2.9.1 by Andrew Davidson

commit 38a659dc102b7a7c29ef5d1dae7a283d8fbbb5bd
Author: Andrew Davidson <andrew.davidson@synergy-learning.com>
Date:   Wed, 08 Apr 2015 17:05:08 +0800
Tag:    v2.9.1

MDL-49787 email: Updated email attachement path check to use realpath() in order to allow for symlinked temp directories