15314 Teach HALAPIResource (Hyperagent) to handle relative root path

http://openproject.org/work_packages/15314