Added constant MAX_PATTERN_LENGTH

in PatternEditorRuler.h as suggested by mauser
to make the maximum pattern length easily configurable in the GUI.