Allow setting a custom timeout environment variable

This change allows users to set the build timeout to a custom environment variable.
The default is to not set a variable, users must explicitly enter a value into the
'Time-out variable' textbox for the plugin to set the environment variable.   Also added
tests to verify this feature.