jersey API: added COPY method and started working on angular client refactoring