Make num_taught a filter, instead of a Count aggregation

Because we want to see instructors who have never taught as well.  The
meat is in the final commit.  The earlier commits just clean up
associated bits of the application enough for me to test the last
commit in Python 3.4.  Details in the individual commit messages.