rhbz1124630 - move client interface to server to avoid massive change in testing

REST Test in client is done through fake server. Server REST tests are RESTEasy dependent(proxy based plus RESTEasy ClientResponse) which makes it too hard to rewrite. Server REST tests are mainly for testing server implementation therefore copy over all the I*Resources and ZanataProxyFactory from old client and make it easier.