[Major] fixed rest unit tests due to changes in jersey 2.7

also had to replace eclipse.persistence with 2.5.1 due to a bug in
namespace resolution.