Added jsr311-api and cxf-rt-frontend-jaxrs dependency for REST.
Domain object became Serializable.
Added REST resources for book and library entities.