Fix typo in Model.belongsTo()
Improve tests and documentation.
Bump version to 0.5.0