Created hasRequiredParameters(), getRequiredParameters(), and getOptiona...

Added three convenience methods in ParameterTrait.