Prepare compilation of shared libraries
Expanding tests for shared C libraries

- Add tests for shared libraries
- Reorganise tests
Merge branch 'topic/c-shared-library'

Closes #127, #128 and #129
Ensure order for installation of directories and files