refactored profile page checks to used shared_examples; move RSpec::Matc...

...hers for alert messages into a new alerts.rb file and added one for notice messages