Make frontend auto-reconnect to backend, fixes issue #7

Frontend autoreconnects to webserver on disconnect with linear backoff, closes #7.

@mickey did this in an pairing interview with me at Shopify :-) Thanks for that!

A quick look @heipei please