[Server][FaceRest] Use std::vector instead of std::list.

And move position of typedef declaration to HostgroupJsonArray class.