Fix incorrect specification of ack pattern delimiters

Also escape # as Vim will expand this to the alternate file name
Fix pattern delimiters for the grep command

(Thanks to hardened-apple for pointing this out)
Adding .out file required to run the casesensitivity test