Dump of work so far
Add episode model
Fix previously-failing JS tests
Use user.id in filter
s/episode/patient/ in JS code
More changes