Got remainder of subject tests passing

Implemented getSubjectsByType _very_ poorly calling the db module
for an assumed _all_ subjects of a type, and then returning a
slice. Clearly this is not the way. But, until the data has a more
well-defined structure I can't think about how I should paginate :)