Minor refactor

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

Good catch!  I'll fix it, and also in the subclass.