Detect attempts to instantiate interfaces or non-existent classes: Fixes #55

Also added more specific exception usage for config errors.