Add option to disable length restriction

By default MathWebSearch does not allow additional
elements in matching XML trees. This has the
effect that for example the query
$x+y$ does not match $x+y+z$

Change-Id: I6f307f49f1c1489452cc8b9f421f1314bc6b108a