Cleaning up maven projects

This pull does the following:

1. Moves all dependency and plugin versions over to props
2. Updates those versions where needed
3. Modifies code so the compile issues are resolved.

@langedb you specially may want to take a look at the ESB changes. Sorry about the whitespace, but had to be done. The indentation was off by 2 characters. No functionality has changed, but since httpclient is upgraded to 4.x, I had to massage the class as well.