Added custom builder for python module to SConstruct.

This integrates building of the python module into the main build
script.
Added minimal test of python module.