Divide FaceRest (issue #156)

Divide the huge class FaceRest to some classes (issue #156).
I've extended RestJob (and renamed it to ResourceHandler) to do it.
Handler functions are moved to child classes of ResourceHandler.

This modification also fixes issue #237.