[BUGFIX] A menu definition's block context should be available

Fixes #257
Merge branch 'feature/menu_block_scope' into develop