rest-api: add viewsets and permissions to packages

Signed-off-by: Gregory Meno <gmeno@redhat.com>
Merge pull request #236 from ceph/wip-fix-setup

rest-api: add viewsets and permissions to packages