Add IPackage interface, fix IPackageManager
add main module to package
fix indent
Merge pull request #2483 from SHTrassEr/master

Fix atom.d.ts