Use boost::tuple instead of half-ass tuple library.

Clean up some #includes.
Change name of Python library.

Use AM_* flags which allow overriding.