[BUILD,DOC] added HAS_XSERVER and ENABLE_TUTORIALS options to control doc generation
[BUILD,TEST] disabled tests that require a GUI if HAS_XSERVER=OFF
[DOC,BUILD] added new variables to linux documentation

 * introduces the ENABLE_TUTORIALS variable in the mac package build