Moved many common functionality of both editors into a new celleditor-base

This commit is not yet stable, but I need the backup.
There are slight differences in between the two types of
cell editors and trying to get the common parts into
celleditor-base is tough.