Bug 887356 - Homescreen grid test failing on TBPL r=crdlc a=tests

This uses sinon to make this sometimes failing test synchronous.
(cherry picked from commit 12a6565c2a053f0d12af51a53ff4b825f4344981)

Conflicts:
	apps/homescreen/test/unit/grid_test.js