Searching the hostname only once.

Hi. I compile in OpenJDK 7 and I noticed that EasyMock 2.2 failed to create mocks.

Second thing, in LockDatabaseChangeLogGenerator I moved the code that finds the host name and address to a static initializer: in case of DNS or hostname problems this speeds up the migrations.

If you're interested.

Thank-you for your work.

Federico