Added validation of the configuration object.

- Added the legitimize module to help validate the configuration object.
- Improved error handling. Fatal errors that occur will simply throw
rather than trying to ignore them.
- Bumped version to v0.2.0.