test(pac): Added unit tests

Added unit tests for bower strategy
Added unit tests for npm strategy
Added optional callback for intall() and pack() API(s)