Add StringUtils.isEmpty method from commons-lang3
Add MissingResourceException management.
Move database.properties into a tomee/lib directory in order to be external to the war application, but into classpath of tomee.