Exclude unnecessary python modules...

... and make py2app code consistent with py2exe.

For windows build it reduces the library.zip file from 2.7MB to 2.3MB.