Added configurable timeout for device ready state

I found that 5 seconds was too short for our app, and so I made it
configurable with the option:  device-ready-timeout in seconds.
Updated per request

Added base 10 for parseInt, and generated docs for server arguments.
Merge pull request #341 from mutualmobile/device_ready_timeout

Added configurable timeout for device ready state