ConfigFileParameters: get base directory from App

This is more flexible than grabbing it via a static utility method.
AppUtils: deprecated getBaseDirectory() method

It is more flexible to call getBaseDirectory() on the App from the
AppService instead.