refactor: Rename "handler" to "resource"

RFC 2616 talks about URI's corresponding to "resources", not
"handlers". This nomenclature is also reflected in the REST
architectural style.