An increasingly general framework for analyzing raw astronomical CCD data in Python, with a focus on sensor test data for the Large Synoptic Survey Telescope