add command 'npm test' to run all mojito unit and functional tests
update default result path
correct format
Update HISTORY with new content under @VERSION@ directly
clean up typo
handle invalid report dir for func tests
try run func with phantomjs on travis
incorporate drew's feedbacks:add check in listerner and simplify runall arg
Merge pull request #1110 from lzhan/npmtest

add command 'npm test' to run all mojito unit and functional tests