Install examples to doc dir and lib (#82)

Install most of the example files to the doc folder, except on
UNIX, when the executable examples go to a subfolder of lib
with a symbolic link installed to the doc folder.