add test for overlapping states
html writer can register links with callable actions
fix behaviour of extend to use createClass for the new child
middleware is now a static that takes a configuration
app call now supports state and actions
update example application with new features