Move buffer management code to SlsDetector::BufferMgr:

* Implement Single & Dual modes for raw & processed
  image injection into Lima, respectively
* Support max_memory control similar to CtBuffer
3 jobs for jungfrau in 6 minutes and 46 seconds (queued for 2 seconds)