adds json endpoints /cohorts/list/ and /jobs/list/ and corresponding fixtures/tests. adds default json serializability to all sqlalchemy mapped classes using the `cls` argument of the declarative_base() factory method.

Change-Id: I57a67f5d28caa7d5d0a93242f9dff53186e54eed