update to check if an object has a specific resource link
fix so object templates do not wipe out existing resource links.  New
Unit test is added to test this out
Merge pull request #1 from tgieske/master

update to check if an object has a specific resource link