New lengthmenu attribute (JSP and Thymeleaf)

Closes dandelion/issues#24