engine and editor using service provider to reigster records

Editor and Engine are now registering their records and decoders using
the new ServiceProvider mechanism of the database.
Flags added in the database to test if a database is currently loaded or
saved, or if the service registration phase is running