Restructure ExecConfig policy reload, add unit tests

Close #1885
Merge pull request #482 from sigurdteigen/master

Restructure ExecConfig policy reload, add unit tests