Ticket 50004 - lib389 - improve X-ORIGIN schema parsing
Bug Description: Schema parsing assumed X-ORIGIN was always in this
format "X-ORIGIN '", but it can also be in other
formats like: "X-ORIGIN (". So when it did not contain
the original format we got list index errors.
Fix Description: Loosen the format to " X-ORIGIN " which all the formats.
Also:
improve from UI schema error messages
updated create_test for python3
https://pagure.io/389-ds-base/issue/50004
Reviewed by: firstyear & spichugi(Thanks!!)