expose the build timeout with an environment variable

It would be nice to have the jenkins job timeout available during the entire build.
Tests, particularly long running tests, can make use of the timeout to evaluate and
do stuff during a test run.  Currently the work around is to set the timeout value in
the jenkins timeout plugin then (using the envinject plugin) inject that value into
job as an environment variable so that it's available globally to the job.  Although
this works it's not a great solution especially if you have tons of projects that needs
to be  updated with that workaround.  Also any workaround would requires two plugins
while this functionality can easily be accomplished with just the build timeout plugin.

This change allows users to set the build timeout to a custom environment variable.
By default the plugin does not set a variable at all, users must explicitly enter
a value into the 'Time-out variable' textbox for the plugin to add the environment
variable to a build.

Also added tests to verify this feature.
fixes for build timeout environment variable feature

fixed the following
1. added the new tests to verify the timeout env variable.
2. keep the previous constructor to preserve backwards compatability.
3. revert existing tests to use the previous constructor.
remove log ouputs to stderr

log ouputs to stderr is not required because the tests do not expect to fail.
Merge pull request #22 from zaro0508/expose-timeout

expose the build timeout with an environment variable