Add configuration support for setting the fetch timeout

This adds the configuration variable "FETCH_TIMEOUT", which
sets the timeout used by the fetch library to something the
user wants, retaining the old value of 30 as a default.