Add Array#toggle_presence

Conditionally delete or append something to an array.