Add magic method __isset method to HalResource

To be able to use the isset function in the getIdFromResource method (line 154 in HalLinks) we need to add the magic __isset method to the HalResource.
Right now the isset always returns false even if the 'id' is set in $resource. This can be considered a bug.