[COOK-1695] Upgrade pip with socket_timeout

- add attribute socket_timeout; default to nil to indicate that we want
  to use the installed pip's defualt timeout
- insert --timeout=xxx option to pip (not the subcommand) if
  socket_timeout is present

Also:
- updated version and timeout resource attributes to explicitly specify
  their expected types