added test, made more consistent with HTMLText
Merge branch 'FirstSentancePunctationFix' of git://github.com/dnadesign/silverstripe-framework into 3.1

* 'FirstSentancePunctationFix' of git://github.com/dnadesign/silverstripe-framework:
  added test, made more consistent with HTMLText