Fix pig install script

* use a working shebang line
* fix a few cwd issues
* fix the export of $PIG* env vars
Merge pull request #2 from Alexis-D/master

Fix pig install script