feat(collection): unifies interface with record api.

Adds $encode and $wrap methods to collection and renames $feed to $decode.

BREAKING CHANGE: collection.$feed is called collection.$decode now.

Closes #63
feat: removes trailing slashes from generated urls
0.18.0