Fixes #5 - An array of links doesn't throw an error

the Resource::links method always return an array when given a valid parameter.

The array contains only instances of Link