Added configuration of a scheduler to the AgentFactory
Merge branch 'master' of https://github.com/almende/cape