Added package settings support, with samples, and approriate builders.
Merge branch 'porting_package_settings_from_java' into dev