Create module.am for stuff common to all Python modules.

Move AM_CPPFLAGS to module.am.