Crucial fix: forgot to add Postgres patch for character attribs.
Fix: return correct format in make_pretty_results.
Fix: typo in dom-formatter.
Fix: notice when importing EFT with broken header(s).
Fix: always explicitely make/append element in comparetypes.
Use a fixed number of sysv semaphores.

This allows us to leave them open and save some resources, while
enforcing a cap on the number of open semaphores at any time.

Also makes the clear_stale_sysvsems script obsolete.