Move tests to the main gorm package

This allows running tests against a source checkout, without importing gorm from GOPATH.

We discussed that briefly in #140, this seems to be a solution.