Look for supported type of storage to use

Looks for supported type of storage to use in order to improve browser compatibility.

HTML5 DOM storage is not widely supported. Moreover it could become a threat to our privacy and be disabled since it is used by some web sites to track visitors.