A generic localstorage wrapper that aims to abstract away any uncomfortable parts of localstorage.