Add initial localStorage support for intermittent offline beacons

This adds support for queuing request into localStorage when they can't be loaded immediately.

The queue will try to fire all requests off to the collector whenever a request is requested and successful.

I haven't been able to test in a browser without localStorage support -- any tips there?