Checkpoint.  Added .gitattributes for cross-platform dev and some fixes.
Added do-tests.sh for testing phase; also other stuff.