mbedToolchain class simple cleanup

1. Added self parameter to mbedToolchain::__exit__() method.
2. Removed unused modules' imports.
3. Few minor indent issues fixed.