Map .pyx sources to .c or .cpp depending on language
Merged in lsinger/setuptools (pull request #39)

Map .pyx sources to .c or .cpp depending on language
Use a single method to handle both languages.
self.language could be None (and is None by default)
Use functools.partial and re.sub to construct the substitution function.