remove unused code
new service: errorService
use errorService to support errorMessages for new objects with out persistence-Id