Move Grid tests into their own file in com.qwirx.grid.

Make them independent of Freebase, so that the Grid component can be
tested and used independently.

Factor out some useful assertions from Freebase test suite into
com.qwirx.test/assertions.js.