initial work

Adding support for https://github.com/nelmio/NelmioApiDocBundle/issues/481

Missing:
- [ ] Review
- [ ] Fallback to cookie storage
there is a much better way to know it: ``hasLocalStorage = 'localStorage' in window;``. There is no need to try setting a value in it (which might overwrite other data set in it) and catching the exception