Move policy loading out of generic_agent.h into loading.h
Merge pull request #1486 from sigurdteigen/cleanup/policy-loading

Move policy loading out of generic_agent.h into loading.h