Improve import_from_dotted_path error message

* Avoid exposing `rsplit` implementation detail in exception message.
* Fix #28.
It hides the fact that this exception was caused by `rsplit` raising `ValueError` - the end user doesn't need to know that implementation detail.