[FaceRest] Add a new struct RestResourceAction

And move action related handlers from FaceRest to it.