Fix cleaning up shared scheduler reset
Don't lose memory on Metadata
Move template to implementation file
Clean up tempdata of RowHelper
Fix ColumnMetadata cleanup
Merge pull request #230 from bastih/master

Some fixes towards not losing as much memory.