Upgrade brakeman gem; fix regular expressions to use \A and \z instaed of ^ and $