changed Schema to use Java reflection, not Scala

This (hopefully) solves a heisenbug that originally appeared on
Travis[1] when retrieving the singleton object for a DBType subclass.

[1]: https://travis-ci.org/pastdb/PAST/builds/22594272
Merge