Git commits in Moodle 2.8.7 by Andrew Davidson

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

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