refactor background subtraction to create an abstract operation
add operation for BG subtracting integrated frames

 * this is what the NCD BG subtraction normally does, but the underlying
   code in BackgroundSubtraction does not limit it in this way
Merge branch 'SCI-2041'