Allow using JDK 1.7 to compile faban.

In 1.7, specifying only the target version as was done in faban
build.xml is an error. If we specify source version instead, it
implies target and compilation succeeds. Doing it this way works with
JDK 1.6 as well (tested these changes with 1.6.0_21 and 1.7.0_25).

(Not sure if we really need to be compiling this to 1.5 anymore, but
I've left that unchanged for now. Can be upgraded later if desired.)

Also, build.xml was passing the same version to rmic 'stubversion'
which is incorrect (though it only generates a warning). The only
valid values for stubversion are 1.1 and 1.2, it doesn't take the full
range of JDK versions. Changed this to "1.2" which is the default.
Count down the latch allowing Agents to shutdown.
Fix handling of hosts for the common case where the hostname has no
dots. This broke recently with changes to issue-22.

When the initial hostname has no dots, dotIdx is -1. The
host.substring call then throws an exception and registration of this
host is bypassed.

While this section of code could be cleaned up further, a simple fix
here is to only attempt the substring if dotIdx is actually positive
(that is, if the host had some dots).
Merge pull request #55 from jvirkki/fix-shorthost

Fix handling of hosts for the common case where the hostname has no dots.
For 1.1.1 version
Merge branch 'master' of github.com:akara/faban
get service logs in finally block if not called due to an exception
include service name and host role in log messages
Merge pull request #56 from whitingjr/issue-#1

Count down the latch allowing Agents to shutdown.
Merge pull request #53 from jvirkki/jdk7-compilation

Allow using JDK 1.7 to compile faban.
Merge pull request #58 from willr3/issue/57

Pull Request for Issue 57
Merge pull request #59 from willr3/dev/willr3/ServiceWrapper

include service name and host role in log messages