[FaceRest] Extract HostResourceQueryOption related code to a new function "parseHostResourceQueryOption"

It will be used for other resources such as triggers or items.