Showing a better config error message

Previously we just showed a message saying that config was not defined. This
shows a better error message that can help developers fix the problem. Also,
the error message can be overriden.
Merge pull request #64 from daviddavis/master

Showing user friendly error message that can be overriden