all: Run daemon dependent funtions after loading config

Add a possibility to run daemon dependent funtions before acquiring
a lock.

Change-Id: Id848738855389792cf6f3db8db21763097da640c
master: Validate if config and cmd arguments match each other

Check whether personality set in config matches parameters passed in the
command line. If metadata servers are managed by HA cluster command line
option '-o ha-cluster-managed' is mandatory, otherwise it is forbidden.

Change-Id: Ic31a6db242a8e7bc78bf181c988bc7dec32c65de