Bugfix & pagination integration.
Refactor grid layout code to deduplicate logic along each axis.
Unittest & fix abstract layout.
Unittest basic grid sizing.
Test & fix block layout.
Unit test calc() implementation!