make collection loading a 2-step process

Allows access to other collection definitions so that associations can be
properly configured.
pass collections dictionary to Collection prototype
build an internal mapping of the entire database schema
finish building internal schema for associations
return an object of instantiated collections from the initialize
ensure transformations for columnName work correctly with schema
update Core to work with new schema builder
fix error in normalization of sort criteria. closes #101