Correctly handle 'import as' import
Merge pull request #47 from timothycrosley/feature/fix-issue-41

Correctly handle 'import as' import