modify import_by_name unpacking for sphinx >= 1.2.3
Merge pull request #82 from larrybradley/newsphinx

modify import_by_name unpacking for sphinx >= 1.2.3