[wip] API work package embedded relations

http://openproject.org/work_packages/11676
We need ids on some resources. At least for now. It should be possible to get rid of them as soon as the API will be "more complete". It seems to be for the best to include ids everywhere or nowhere - otherwise it's quite confusing.