Big hack to make createLayer respect OGC standards.
Merge pull request #656 from camptocamp/wmts-print-doesnt-work

Big Hack to make that createLayer respect the OGC standard!