2769: reorganize REST handlers

Reorganizing REST handlers into their own source file.

Refs #2769.
Merge branch '2769-keep-delete-request'

Refs #2769