Issue 12888 - Include template constraints in JSON output

https://issues.dlang.org/show_bug.cgi?id=12888
I'd prefer to move the position of "constraint" after "parameters", because it is consistent with actual D code.
`template Name(Parameters...) if (constraint) { ...members... }`