hook api up for restricted access

fixes CNVS-12653

When you open the restricted access dialog, it should be synced with
the server and saving should work.

Test Plan

Given you are on the new files page
And you are a user that has permission to change restricted access
And you click a file or folders admin cog
And you select 'restricted access' for the options
Then you should see a dialog open
And there should be two options with radio buttons
And the first option should be checked by default
When you click on the 'Schedule student availability' option
Then you should see two inputs with calendars you can select
And you should be able to select dates for those inputs
And you should be able to "Update" the restricted access
And those changes should be persistant.

Change-Id: Ibe57fc49cb063cfcd3acb64f2a6d1bf8bfc49b66
Reviewed-on: https://gerrit.instructure.com/39451
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>