Refactor compile flags setting
add libshogun and python_modular tests via ctest
Travis: change script and add memory check target with ctest