Improvement CodeRefactor

- Truncate Imports for haxe
- fixed behavior for one unused import.

fixes: https://github.com/SlavaRa/flashdevelop/commit/82ba4d53b2fda8fb962df6b8cb5d77d43433dd42