SS 3.1 compatibility

Quick fix so this can be used in SilverStripe 3.1, adding `$allowed_actions` and updating `composer.json`