added local src support in mac_pkg; added mac_version and mac_major_minor_version
added/updated test scripts
refactored mac_pkg to handle various archive formats and package types