Basic relations example

This example covers relations and includes a convenience component to make working with related tables much easier. The example lacks a some unit tests but otherwise is complete.