[git] update ignore, package
[api][test] restructure to standards. add mocha tests using chai, more doc
[api] add bin/
[api] add lib subdirs