Minor refactor

Agents now contain a world and the method generateSensorimotorSequence. 

Updated tests.

Could this actually be in `AbstractAgent`? Is there anything specific in this implementation to the `RandomOneDAgent`?