Merge pull request #3 from damoxc/master

various fixes to the model
fixed layout tests
updated to make data reproducable
cursor should be set to self
block view + tests
lookup block
blocks: add initial implementation of renderering blocks

This is an initial prototype of how blocks can be rendered, granted to
begin with, incredibly naive. Also currently the markdown test is failing
as the variable doesn't appear to being converted into markdown by pyjade.
Merge pull request #4 from damoxc/block-render-implementation

blocks: add initial implementation of renderering blocks
fixed test
attempt at table rendering