Updated version.py

This more recent version of version.py somehow got misplaced in merges.
Currently, the old style puts the version string into the imageproc-lib dir.
This version puts it into the source dir for the project.