Refactored version of import optimized. Now it's possible to implement proper imports sorter.
Relative imports are removed during optimize imports according to setting. Also removed unnecessary _root_.