Fixed output directory of GMock artifacts
Factored gmock stuff in a separate function
Moved GMock handling in a dedicated cmake module
Make library be built/installed as both a static and shared