Fix issue 252 - Add reconnection option

This is a first swing on adding `reconnection` option.
We kind of need this to be added to test with Mobile-Appmaker and also to deploy to server where WebSocket will be close when there is no activity from client to server and likewise.

Other options can be added later such as reconnectDelay and many others as suggested in the ticket #252.

Unit test for this will be add ASAP, but I want this to be review at least to be sure what I'm doing here is what we need.
This was necessary because when we deploy to Heroku we don't have bower and grunt install running, and it should be commit as part of publish build step anyway.