IgnoreBorder option for slidingWindow detectors

@jklontz If you have a few seconds, I would appreciate a quick review. I am sure there are a few mistakes that I need to learn about :) Thanks!