Adding support for user context for symfony HttpCache

Moving most of https://github.com/FriendsOfSymfony/FOSHttpCacheBundle/issues/177 to the library.

*TODO*
* [ ] Documentation (see also https://github.com/FriendsOfSymfony/FOSHttpCacheBundle/issues/178 but note that things changed since then)
should we do the same in the bundle?