Code unit tested and integration tested.

Created a Netbeans project to compile the unit test code.
simplified  FlashDevice api method names.
"make test" builds and runs the unit tests.
Initial stab at documentation.