Fix some issues in the Schema class.

- Fix bug where passing an array to a boolean column fails.
- Pass base64 types through a regex before trying to decode them.
Add some more schema unit tests.