Refactored pear package scripts

... plus ignored some additional build artifacts