Issue #73. Modify the output format for --version option.

Hi Bryce,
As we need to use git commands inside code i tried to create a simple shell script for fetching the latest sha from git logs. 
Anyways using system("git ...") API call will simplify the task much. 
Please let me know your concern.

Thanks,
Suyambu