Closes #1081 by adding the `namedfuncs` option

This option adds the requirement that all function be named.
Anonymous functions will raise a warning (W126).