accept connections into the schema builder
add safe hasOwnProperty helper
fix for tests
allow an adapter to specify which format the primary key should be

- this allows us to build join tables that work with things such as mongo
object id's and SQL integer values