pcs parser: extract from server config

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
pcs parser: extract pcs_parse()

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
pcs parser: extract pcs_parser_one_document()

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
pcs parser: extract pcs_parser_map()

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
pcs parser: don't terminate process on errors

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>