Repo timeout settings: treat 0 as nil

This makes repo settings return nil if set to 0.

Apparently the UI current always passes 0, which means "no timeout".
I think this should fixed in the UI, too, allowing empty fields.
Merge pull request #402 from travis-ci/sf-fix-repo-timeout-zero

Repo timeout settings: treat 0 as nil