Add mocha unit-tests for lb-ng script

Fix the bugs found along the way.
Merge pull request #5 from strongloop/feature/cli-tests

Add mocha unit-tests for lb-ng script