Update to work with Silverstripe 3.1

Hi aj, I updated your module, to be compatible with silverstripe 3.1.

kind regards

andre