No longer require a search line in resolv.conf for Output.shortHostname to work
Add jobs to allocated map only if ports have actually been allocated
Merge pull request #63 from spotify/drewc/fix-bugs

No longer require a search line in resolv.conf for Output.shortHostname ...
Merge pull request #67 from spotify/rculbertson/null-ports

Add jobs to allocated map only if ports have actually been allocated
non-spotify specific master resolution

* Remove spotify specific srv format and domain.
* Make the srv format configurable via a HELIOS_SRV_FORMAT environment
  variable.

dnsjava uses the dns search list in /etc/resolv.conf, so users in
environments with correctly configures dns search domains will not need
to enter fully qualified helios domain names during normal use.
Merge pull request #33 from spotify/dano/non-spotify-specific-master-resolution

non-spotify specific master resolution
TemporaryJobs writes state to disk so jobs can be cleaned up by subsequent runs.

If a run of TemporaryJobs is killed off while jobs are still deployed,
they will be left running. This can lead to a lot of abondoned jobs still
running. To prevent this, TemporaryJobs now genereates a random string for
run, and uses this as a prefix for each job name. This string is written
to disk as the name of file in /tmp/helios-temp-jobs. When TemporaryJobs
starts, it will read all files in this directory, and delete all jobs
which start with the prefix. If TemporaryJobs runs to completion, and
all jobs are undeployed successfully, the temporary file will be deleted.
Misc fixes from code review
Refactored JobPrefixFile class.

The new version properly handles closing of FileChannels, and
users of the class no longer need to deal with FileLocks directly.