Add support for explicitly setting a field's logical type

Fix #409
Merge pull request #410 from cbmi/issue-409

Add support for explicitly setting a field's logical type