Updated for SilverStripe 3.x compatibility.
Merge pull request #1 from ryanwachtl/3.x-compatibility

Updated for SilverStripe 3.x compatibility.