Factory initialization is now moved to initAgents.
Fix for lazy value exporting.
initAgents are now inherited.
Merge branch 'master' of https://www.github.com/foam-framework/foam