initial work

Adding support for https://github.com/nelmio/NelmioApiDocBundle/issues/481

Missing:
- [ ] Review
- [ ] Fallback to cookie storage
I suggest using a ``<button type="button">`` tag instead.