Starting to restructure stacks-tools

Right now only the line and page counts are correct.
Commit information parsing in stacks-tools

Johan has proposed an optimized approach for this, it will be included
later on.