update mvn script to run on Mac OS X

* fix the way to find JAVA_HOME on Darwin (Mac OS X)
  to be able to use JDK 1.7
remove dead code

since HornetQ use JCA 1.5, there is no need to keep a list of optional
configuration properties that are not used at all.
WFLY-1375 Fix potential classloader leak with EJB async invocations
[JBWS-3642] Replace gnu-getopt:getopt with gnu.getopt:java-getopt
WFLY-1370 Allow CDI Extension to be loaded from static modules
This commit changes the way CDI portable extensions are loaded,
so they will be picked up from any module that has its services
exposed to the deployment.

This will both allow users to register portable extensions from
static modules, and also allow subsystems to more easily register
extensions.
WFLY-1377 Handle optional resource injection
[WFLY-1385] Override page-size-bytes default value

The max-size-bytes parameter default value (-1) is overridden in
messaging subsystem configuration to BLOCK at 10MiB.
If the admin changes the address-full-policy from BLOCK to PAGE, this
will conflict with the default value for page-size-bytes (10MiB) which
*must* be smaller than max-size-bytes.
=> override it to 2MiB to avoid any issues when the queues are paging
(and it has no incidence when the queues are blocking)
[WFLY-72] Adding PrivilegedInterceptor to JAXWS invocation chain
[WFLY-72] Adding AccessCheckingInterceptor too
either camelcase acronyms or don't, but pick one
WFLY-1389 Weld subsystem needs dependency on validator api
Upgrade Narayana to 5.0.0.M3-SNAPSHOT
JBTM-1472 Initial version of Compensations API
JBTM-1676 Integrate Compensations API with WS-BA