DBCore types: no functional-style Type constructor

This was getting more and more awkward. Also added a `parse` method (in
progress).
less code to specify `sql` and `query` for Type

Declarative class members instead of super calls. Wins every time.
avoid NotImplementedError for the time being