Fix deprecation notices
Bump required SilverStripe version to 3.1