Use the new permissions format (Array)

This is (part of) paying off tech debt from when permissions was a Hash.
Merge pull request #3 from alphagov/upgrade_to_new_permissions_format

Use the new permissions format (Array)