Directly query database for default publication status

Can't rely on the sfConfig::get() helper in the CLI context.
Don't assume values for columns that are blank

- levelOfDetail and descriptionStatus should not have a value if the source data does not.
- A blank publication status was throwing a bogus warning.
Cosmetic change