Adding database configuration scripts for WildFly

The current database configuration scripts don't work with WildFly and
only with AS 7.x. Adding separate configurations for WildFly will
simplify setup for our users.
updated code snippet to use the new simplificated API and added default success and failure handlers to be more in sync with android
full example
Updating the Web Interface