When fragmenting Defaults, we mixed back settings in the wrong order.

* packageArtifacts is not cleared by defautlSettings
* Added a test for this behavior (this one test should ensure the ordering for most settings is correct.)

Fixes #1176 

Review by @havocp cc> @patriknw