Add socket timeout to uri module.

The uri module can be configured to abort after a specified timeout if
it cannot connect to the configured uri. The default behavior remains
which is no timeout.

This change also introduces a new type for module_parameters: int
Code was added to perform conversion from string -> int type in
module_common.py.

The new type was required in order to play nice with httplib2 which
refuses to accept (and convert) anything other than a numeric type for
the timeout value.