Optimizations, refactoring and key-mapping for NERDTree to open file in tab with ctrl-t