CMake updates:

- Fix spelling of monolithic build option
- Add install target for documentation.
- Make sure libraries get installed when not building the monolithic library.
- Fix header files install broken by moving CMake config file to src.
- Set VERSION/SOVERSION on all libraries with non-monolithic build.