Improved -migrateStore.

[IMPROVED]  -migrateStore now accepts 0/nil for a bunch of parameters and will use sane defaults derived from the other parameters.
[IMPROVED]  -migrateStore now creates any missing directories if necessary.