Deviations - first part

* Deviation actor components tested
  * bunch of trace generators - may want to move this into its own library
* Initial port of Deviation result encoder
* Began work on Deviations
* Fixed test