Add wmts-from-capabilities example

it demonstrates how to create a wmts source by retrieving its configuration
from a wmts getCapabilities.
Add missing exports

so that wmts-from-capabilities example works.