cmake update

This includes:
- handling src/ and test/ separately
- fixes for linking cppunit
- fix for compilation of newton_test (src/main.cpp was accidentaly
  included)
- avoiding recompilation of main libraries for newton and newton_test
Merge pull request #1 from michalt/cmake

cmake update