edit one reference failure to account for bug fix in PSFCorr.cpp
(#331)
turned mask image input into weight and badpix in psfcorr.py
(#331)
moved weight and badpix manipulations to helper function
(#331)
fixed several bugs in new weight/badpix functionality
(#331)
made unit tests work with new weight/badpix functionality
(#331)