Improve tests, update gitignore

Script does not work with dash, print some progress,
run tests in subdir: allows several users to run tests simultaneously,
remove temporary files, add more tests, do not use system copy of cli.
Merge pull request #16 from Nikoli/build_system

Improve tests, update gitignore