Close issues #11 and #12

When querying relations, the builder should set the bindings for the
related model instead of the parent model.
add connection credentials to docs