Move to nodeunit in preparation to move to gyp; moved tests into test directory; integration test is curently moved aside.