Claim {From, To}JSON etc. for free for Permissions

Claim 'ToJSON' and other neat instances for free with 'json', since
tempuhs-server will need to 'toJSON' 'Permissions' in the future.

Signed-off-by: Alexander Berntsen <alexander@plaimi.net>
Signed-off-by: Stian Ellingsen <stian@plaimi.net>
Reviewed-by: Stian Ellingsen <stian@plaimi.net>
Permit soft-delete of Permissions via rubbish

Signed-off-by: Alexander Berntsen <alexander@plaimi.net>
Signed-off-by: Stian Ellingsen <stian@plaimi.net>
Reviewed-by: Stian Ellingsen <stian@plaimi.net>
Claim free lenses for Permissions

Signed-off-by: Alexander Berntsen <alexander@plaimi.net>
Signed-off-by: Stian Ellingsen <stian@plaimi.net>
Reviewed-by: Stian Ellingsen <stian@plaimi.net>
Rename Permissions to Permissionset

Consistenting the naming of tables just makes life easier for people
(i.e. *me*) implementing this crap.

Signed-off-by: Alexander Berntsen <alexander@plaimi.net>
Signed-off-by: Stian Ellingsen <stian@plaimi.net>
Reviewed-by: Stian Ellingsen <stian@plaimi.net>