Fix Gearfile location and working directory.
Fix minor cwd bug
Merge branch 'master' of github.com:fpirsch/gear into fpirsch-master