steam-api: fixed failing friend additions and removals

The friend removal and addition operations were failing due in part to
checks incorrectly detecting errors. Additionally, the friendship states
were being ignored during the polling operations.