Modify scanner.jl to remove contains

Remove all contains errors, swapping with in. Running test suite with
just these changes doesn't appear to cause any additional errors.