Changed Hub.registration_timeout to be a config input.

I did a quick test on my local machine with this.  I couldn't figure out how to commit back to the github server so I did an online edit so someone should double check that everything is OK.