Squash command

This PR introduces a squash command to rewrite history and put several commits into just one.