allow setting dateAdded/modified on new items. fix addTag
php - fix addItem
make sure 'key' is in writeFailure

even when batched from a completely failed request rather than passed through
from the server
use getter for itemKey
add explanatory comments, remove obsolete error check
oauth exchange using rauth python example