service migration: para parsing

now parsing common parameter/paragraph properties
in a new dedicated function, plus minor code adjustments.
precond structure in MongoDB

added a Code SchemaDocument class to store precond code.
need to propagate to other code-based properties.