Replace Trial with Nose

This branch is working to remove the dependency on trial.  Trial itself has been the source of several problems with tests and also made it more difficult to write tests which play well with non-twisted code.  After some lengthy experimentation I've started working on a conversion which should make it easier to both run the tests and to finish writing tests for the agent.


**This branch is not yet ready to merge.**