Update for Framework 3.2

Make master (0.8 branch) compatible with silverstripe 3.2