Added update code.
Fixed bug in update.
Fixed bug in how packages were stored, also included zfs_ip_priority handling.
Fixed unit tests.
Fixed debug output for update.
Merge branch 'test' into dev