JAX-RS refactor
SalesOrder emails enhanced. refs #655