Manually merging pull request https://github.com/Unidata/netcdf-c/pull/74 contributed by Nico Schlömer
Removed stray comment characters, updated autotools-based build to package cmake export file template.
remove old export functionality, move new in place
add cmake option FIND_SHARED_LIBS

Defaults to ${BUILD_SHARED_LIBS} and lets the user decide if
static or shared versions of third-party libraries are
searched.

Only applied to HDF5 for now.
fix link bug for static builds
actually include target info in export config
move export functionality towards the end of CMakeLists.txt

This ensure that all referenced variables are actually defined.
Merge branch 'nschloe-export-fixes'
remove illegal characters from docs/FAQ.md
Merge branch 'nschloe-remove-illegal-chars'
Fixed coverity issue.
Coverity 711708, first instance.
Coverity 711708, second instance.
Coverity: 711873
Regularized libnetcdf.settings.in to make parsing settings file easier
Document that ncgen input can come from stdin
Coverity: 711709
Coverity: 711710
Updated with information re: pending 4.3.3 RC.
Fixed an issue regarding which files are included in 'make dist'.