hg version pattern modified for hg installed as internal part of external application

*in this case hg return version in square brackets
test for version added
more common version parsing with whitespaces
updated tests for version with whitespaces
tests for Browse changes action added

*test quoted data and revision number arguments executed log command via bash for linux-like system and simple execution for windows
HgLogTest updated for bash execution
cleanup