pylint: remove unneeded disable=protected-access
test_utils: separate test case for each function
utils: move import_from_string to utils
utils: test if requested attribute exists

import_from_string now checks if the requested attribute of the imported
module exists. This allows the caller to catch all errors with
ImportError exceptions.
test_utils: add test for import_form_string