Retry and sleep when exporting TRAVIS_TEST_RESULT failed.

There seems to be some strange timing issue going on that causes
this particular export to fail for no apparent reason.
Some README fixes

The project now runs on JRuby 1.9-mode.
Don't export TRAVIS_TEST_RESULT if there is no after_script commands

export commands tend to sometimes fail with no reason (it may be a bug
in net/ssh or other part of executing commands for vm), until we fix it,
we may just try to minimize executing them - if there is no
after_script, people will not use it anyway.
Update travis-build to send build states
Update cucumber features to handle states