make setObjectcs work as constructer

Previously the given objects where not wrapped into a DatabaseObjectEditor, but
they were in ```__construct()```. Now ```__construct()``` calls the ```setObjects()``` method and both methods do the same.