[#49] worked past mocking issue for internal module

rewire now a dev dependency
jasmine sucks
[#49] expanded test suite

properly tests asynch functions
most of the behaviour is centered around login
[#49] tracking small test suite for cli/login sudmodule

some output functionality is still located in the cli build module for login
[#46] moved remote.build to build in lib/cli