Make the project build from a fresh clone

Also, some other minor cleanup.

* Add HintPaths for all references.
* Add missing version.exe needed for post-build event.
* Ignore bin and obj directories.
* Add executable permission for all executables.
Merge pull request #20 from jjlin/contrib

Make the project build from a fresh clone