Resource constructor supports an instance of Link

- Allow Hal\Resource::__construct to accept an instance of \Hal\Link in first
argument
- Added unit test and updated the doc block
Add SelfLink to ensure proper Hal output
Merge pull request #17 from hjr3/issue-12

Issue 12