Modified parser.jl to remove contains errors

Modified all functions using contains, replacing with in. After running
test suite, doesn't seem to be generating any new errors.