Copy of pysynphot trunk from assembla.com