Parameter.required flag implemented

Made the "required" flag for Parameter objects available to the code generator templates
Merge pull request #310 from martoe/param_required

Parameter.required flag implemented