refactoring

1) derive jet::config_error from jet::exception
2) use new syntax to throw config exceptions
3) fix tests