Extract option setting utils for REST endpoints This makes the parsing of "fields=" in all endpoints slightly more lenient: it is now case-insensitive and supports ' ' as a delimiter in addition to ','. This matches the previous behavior of "q=" in GetCapabilities. Change-Id: Iea40cf31b5f5a3a73264c74506848a3cfc73c542