Improve source and target uri parsing.

In particular, make dbf and db3 synonyms as far as --type is concerned.