Add possibility to build with or without CLI features

Conflicts:

	CMake/Superbuild/CMakeLists.txt
	CMakeLists.txt
	ImageViewer/CMakeLists.txt
	ImageViewer/ImageViewer.cxx

Export library