Fixes bug that caused backoff exponent to always be 0
Limits backoff exponent growth
Adds test to ensure correct backoff behaviour
Fixes browser test runner
Merge pull request #4 from xavi-js/bugfix/reconnect-backoff

Bugfix: correctly backs off reconnection, with upper limit