Issue 1274

Fixes #1274.

Originally problem introduced by me at 569ca657dae4858748f946483066b310add9765c doing work on WMS proxying.

Solved by delegating `getMetadata` responsibility to NcWMS class.