Fix issue when logging out in wildfly.

An unnecessary logout.xhtml page was being used to be able to capture the request, perform the logout and redirect to the home page again. This is not necesary and might be causing an intermitent problem in wildfly.
Put GWT dependencies last to ensure they don't override Java APIs
Add workarounds for WildFly bugs: WFLY-3617, WFLY-3744
Send Velocity log to SLF4J (via Commons Logging)
Enable connection debugging
Enhance connection wrapping: logging, configuration, mariadb

- Log information about database and driver.
- Check for supported database/version.
- Add system property 'zanata.connection.use.wrapper' for explicit
  control.
- Disable connection wrapping for mariadb as well as mysql.
- Log what WrapperManager does.
Delete HTextFlowHistory before HTextFlow
Adjust programmatic log config in ZanataInit
Log permission check failure as WARN, success as DEBUG
Make ports configurable via system properties and env vars

Also set port-offset=0 and adjust port numbers manually (by adding 100)
Generate unused port numbers for JBoss using Groovy script
Rewrite allocate-ports in Python for faster startup
Control WildFly ports via environment variables
Fix profile activation on Maven 3.2.2+ (MNG-4565)
Remove use of tmp war
Split arquillian config into two profiles: jbosseap6 & wildfly81