qwt: designer plugin fix and new build options

Designer plugin now works. Added option to build as libs instead of framework. Added qwtmathml option, which is now _not_ built by default.
It was [discussed earlier in PR](https://github.com/Homebrew/homebrew/pull/26152#discussion_r9578223), and you suggested linking to it. I just made sure it was installed to `prefix`.