Improve import_from_dotted_path error message

* Avoid exposing `rsplit` implementation detail in exception message.
* Fix #28.
I take it that it does still show the stacktrace, though?