add getSpace method

I haven't tested this on all browsers yet.

I just implemented a solution from SO

see http://stackoverflow.com/questions/4391575/how-to-find-the-size-of-localstorage