Review and episode tests

Finish test suite, couple of bug fixes. Also clear up some security and dependencies
![jabba](http://i.imgur.com/iJoG4Ks.jpg)