Added notification functions to header.php and implemented it for new answers and votes received on answers.