Fixed on JBoss 7 (resteasy deps)

Removed some dependencies on resteasy so that the UI works properly in
JBoss 7.