fixing locale issue
Merge branch 'ZendLocaleFix' of git://github.com/dnadesign/silverstripe-framework into 3.1_pwt

* 'ZendLocaleFix' of git://github.com/dnadesign/silverstripe-framework:
  fixing locale issue