Added option for maxReconnectInterval

Added an extra option to specify the maximum amount of time to wait
before attempting a reconnect.  Defaults to -1, to keep the current
behaviour.
Updated default, added documentation

Now defaults to 30,000.  Removed the -1 magic number.  Added
documentation on use.
Added maxreconnectinterval to ts definition
swapped tab for spaces
Merge pull request #36 from JamesThorpe/doc-ts

Updated ts with new option