Adds a new functional test for testing various command line and
configuration file argument interactions, that aren't specific enough to
other functionality to be placed in other tests.
Currently this tests the error messages for non-existent datadir
Backport of core PR11883