Made several improvements to the installer/pkgbuild scripts and updated the README.
Assigned cmd[1] to returncode for better readability.
Merge pull request #4 from futureimperfect/installer-improvements

Made several improvements to the installer/pkgbuild scripts and updated ...