TS-1741: add plugins examples to the build

Add example plugins to the build. Simplify the automake configuration.
Rename files so that we consistently use '-' instead of '_'.