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.

Can we call ref() of the hash table and pass it to jobs instead of a copy ?