Added "before" hooks for onCellMouseDown and onCellMouseOver

These can be useful when implementing formula editor like in #22