initial work

Adding support for https://github.com/nelmio/NelmioApiDocBundle/issues/481

Missing:
- [ ] Review
- [ ] Fallback to cookie storage
please prefix the keys you use. The doc will run on the same domain that the website including the bundle, meaning it will share the localStorage.