fix PHP complaining about missing property isPluginModified
make generateLdif() work again (LHM Trac #9480)
fix PHP error on edit department dialog if no bases for moving to are available (e.g. when editing ".")