Fix shared library and python module

Conflicts:
	src/CMakeLists.txt
python module file suffix is platform dependent
Merge branch 'python' into python_travis