Use importlib instead of __import__

Without this change, bad things happen on my system when running ``optional_package('sklearn.linear_model')`` (``sklearn`` fails to import from ``..externals``, and then it looks like ``sklearn`` is not installed on my system).

/cc @matthew-brett @arokem 
Could do.  Or drop Python 2.6 support.