Add check for CWD, so that script fails with a decent error msg
(following complaint from Claus Ibsen)
HORNETQ-1161 Generate Java defaults from hornetq-configuration.xsd
HORNETQ-1161 More field names added to the schema, fix some issues
Merge pull request #1048 from FranciscoBorges/master

Use schema to generate Java defaults class
bridge failover tests