Fix deprecation warnings for master
Merge pull request #20 from ss23/fix-master-deprecation

Fix deprecation warnings for master
3.1 compat (controller code)
Fix #14 - Shortcode download link fixed
Merge pull request #21 from ss23/fix-14

Fix #14 - Shortcode download link fixed
Add allowed_actions to make it work for 3.1
Merge pull request #22 from ss23/allowed_actions-3.1

Add allowed_actions to make it work for 3.1
Merge pull request #23 from ss23/master

3.1 compat -- Add action to allowed_actions
Merge pull request #24 from ss23/master

FIX Don't show the upload field when inappropriate
Merge pull request #28 from ss23/master

FIX #25 - documentautocomplete need allowed_action
FIX #29 - 'linkdocument' needed adding to allowed_actions
Merge pull request #31 from richardmward/patch-1

FIX #29 - 'linkdocument' needed adding to allowed_actions