Adding an errors module.

This contains a single error: ConfigurationError.  We'll raise this if a user
doesn't configure something necessary.
Adding a `check_settings` helper function.

This checks our settings for required values.
Simplifying settings checker.
Adding settings checking to the init.