Fix ivar memory management
Merge pull request #1067 from mauiaaron/v3.3

Fix ivar memory management
Merge pull request #1064 from NickyWeber/bugfix/v3.3_packages_saving_and_loading_mac

Bugfixes for packages
Merge branch 'v3.3' into bugfix/package_persistency_ios