Enable command autocompletion when local installation is used
Enable command autocompletion when local installation is used

When you do not specify -g flag, we could still enable autocompletion, but currently this process fails as we are executing globally installed CLI (for example tns completion >> ...). Use the javascript from bin directory instead.
Fix dev-preuninstall command, which was failing due to incorrect service called in it (cancellationService is not called at all, so I removed it. In fact we have $cancellation, not $cancellationService).

e2l3n/nativescript-cli,NativeScript/nativescript-cli,NathanaelA/nativescript-cli,NativeScript/nativescript-cli,NathanaelA/nativescript-cli,lokilandon/nativescript-cli,lokilandon/nativescript-cli,jbristowe/nativescript-cli,NathanaelA/nativescript-cli,lokilandon/nativescript-cli,NathanaelA/nativescript-cli,jbristowe/nativescript-cli,tsvetie/nativescript-cli,tsvetie/nativescript-cli,tsvetie/nativescript-cli,e2l3n/nativescript-cli,NativeScript/nativescript-cli,tsvetie/nativescript-cli,jbristowe/nativescript-cli,e2l3n/nativescript-cli,NativeScript/nativescript-cli,tsvetie/nativescript-cli