'on_reaplce' raised on valid PUT requests.

'on_replace' is raised on PUT requests. 'on_insert', previously raised
on both PUT and POST, is now raised only on POST.

Addresses #232.