Removed dependency on GUI parameters when interacting with Mercurial.

Added temporary class HgLog to interact with Mercurial until the final strategy pattern is in place.

Refactor of command execution.