Cleaned up magic numbers from m_addfriend, m_friend status, and wrote is_own_key().
Rewrote line_eval to use strtok_r, and wrote add_friend_error.
Adding back all command comments.