packaging: setup: move jboss and java setups to common

useful for satellite packages.

Change-Id: I8a0114f9bd3abc06b6f1e8e87153cb5ae19950e0
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>