Added db support for getting episodes.

I added the needed fields for basic episode acquiring functionality and I
showed this data in the home screen. I also added some more tests to test some
of the model methods.