Return an error if a shared cache configuration is set, but
not enabled.

Check for a configuration via shared_cache=(size=).

Refs #1487
Use none comparison when checking for invalid collator usage.