document scope of keyword and optional argument default values. closes #4795