qt5webkit: reimplement the persistent cookie storage for the Qt platform

The facade pattern approach allows for a customized storage location and has been ported from an in-house developed patch