Fixes #52 by allowing relative resource paths

* Some necessary refactoring in bin/occi
* Some necessary refactoring in bin/occi helpers
* Minor fixes in ClientHttp to allow relative resource paths