First working version of pausing and resuming with AMScanActionController. Needed to implement canPause() for AMLoopAction3 and add some checking for paused state in its internalDoNextAction. Lots of debugging from those tests. Some testing overall, probably could use (a lot) more.