Fixed running tests in IntelliJ with scala 2.11
Simpler regex, stronger tests for memcached key sanitizer