added ability for postDispatch() to return rendered content instead of outputting it, if  argument was set to true
Merge branch 'newgrid' of https://github.com/perminov/core into newgrid