change formulas + "Edit Formula" context menu

+ added click event for every formula
+ open formula editor when clicked on “Edit Formula” in context menu
+ display “Edit Formula” in context menu only when brick has formula
+ bugfixes for BrickCell context menu