Updated gems, fixed issue with flash messages

In rails4 the flash hash keys differentiate between "notice" and :notice, thus we need to typecast the key before comparing it