pcs parser: extract pcs_parser_long()

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
server config: make internal variables static

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
file input block: load and check for errors

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