Read version from file. Added --version option

For the convenience of seeing what version of doctool is currently installed on a system, I've added the --version flag.