major rewrite of unit tests

* use std:iostreams instead C FILEs
* move SensorTest and ProtocolTest classes to separate files
* create Subprocess classs to simplify forking a subproces
* rename tne unit test executable to "test"
Merge branch 'master' of github.com:MindSpy/mindspy-firmware