Actually use Resource nodes as the specification says.
Fix previous commit.
Improve test coverage.
Add doc on usage.
More complete example.
Merge pull request #3 from ProjetPP/update-to-doc

Actually use Resource nodes as the specification says.