Some changes according to D8 API

Hi piyuesh23,
I worked over your module for making it compatible with actual D8 Beta-3 version.
Besides; I added a permission in requirements for config form.

I hope this works for you.