Fixes accidental inclusion of Stars.cpp which was breaking library creation
Makes base9 build a shared library

Removes linking from base9 shared and static libraries, and adds the required libraries to the executables which link to libbase9.
Only sampleWDMass and mpiMcmc have been updated this way. Any other applications will need to be updated in future.
Removes dynamic base9 library
Fixes check for exp in CMakeLists
Adds BASE9 R library