Fixes EGI-FCTF/rOCCI-core#9, link parsing

References to resource links are now correctly added to resources
within a collection.
Merge pull request #12 from arax/links_fix

Fixes EGI-FCTF/rOCCI-core#9, link parsing