Split JAX-RS Profile client into its own module

Created AbstractProfileClient in the base module to contain shared logic.