Merge branch 'master' into cmakeable
Fix test target, SOVERSION in binaries.
Build both static and shared libs, install headers.