model: implement lazy loading of nested attributes

Lazily follow GET hrefs for nested attributes.

This fixes #4 and #14.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>