Parameter.required flag implemented

Made the "required" flag for Parameter objects available to the code generator templates