Bug 1059144 - Refactored nodejs control script

* Moved functions into util file to make debugging easier
* Kill 'node' processes when 'use_npm' instead of killing 'npm'
Replaced force_npm_deploy with use_npm
Bug 1059374 - Sanity check pkill in nodejs control script
Merge pull request #4623 from mfojtik/card_89_fixes

Merged by openshift-bot