add one option BUILD_EXAMPLES
fix cmake warning about CMP0042 on Mac
add missing include_directories
install libraries, executables and headers
install dir for documentation
Merge pull request #1 from arnaudgelas/install

Install