Merge pull request #362 from joakim-hove/master

Added function vector_template_from_data_memcpy()
Refactored code to find modules for testing slightly; to be certain that we do not find a module in the default library search path.
Merge pull request #364 from joakim-hove/osx-cmake

Refactored code to find modules for testing slightly