curses configuration in Modules/Setup.dist, so that the curses modules
are built using setup.py with the downstream default (linking against
libncursesw.so, rather than libncurses.so), rather than within the
Makefile; add a test to %%install to verify the dso files that the
curses module is linked against the correct DSO (bug 539917; changes
_cursesmodule.so -> _curses.so)