[TASK] Force "doktype" to be an integer in Menu ViewHelpers

This allows the use of ViewHelpers which fail on NULL values to use the "doktype" (which is zero for ordinary/unspecified pages).