jpa: update use entitytransaction, resource: remove print to console and change get resposne no content to ok with empty contacts, put and delete bad request to not found, move setFactory statement to unit test and main, eliminate dependency of MemDaoFactory by parse xml location instead of hardcode