favor user dir when versions match for plugins

Signed-off-by: Chris Granger <ibdknox@gmail.com>
Extend basename to fully wrap node function

When invoked with two args, files/basename will now return filename sans extension if extension matches the second arg.
Merge pull request #1161 from ndr-qef/basename-ext

Extend basename with optional argument for extension matching
make console and notifos more resilient to non-dommable things

Signed-off-by: Chris Granger <ibdknox@gmail.com>
Merge branch 'master' of github.com:Kodowa/Light-Table-Playground
Merge branch 'master' of https://github.com/LightTable/LightTable

* 'master' of https://github.com/LightTable/LightTable:
  make console and notifos more resilient to non-dommable things
  Extend basename to fully wrap node function
  favor user dir when versions match for plugins