Update submissions.js to support "details" parameter of {{Afc decline}}.

Support "details" parameter of {{Afc decline}}.

A recent change started supporting the "reason" tag in {{Afc decline}}, but this didn't work with reasons such as a custom reason or the "dup" reason that require a second parameter. I have changed {{Afc decline}} to support a "details" parameter that passes a second parameter to {{AFC submission/comments}}. This parameter is already collected by the AFCH script for use in {{AFC submission}}, but needs to be passed to {{Afc decline}} as well.

As a disclaimer, I haven't tested this patch.
No problem, I made the change. When I started learning JavaScript in 1998, browsers that used JavaScript 1.0 or 1.1 were still common enough that I was taught to avoid using logical operators in that manner, but I guess that's not an issue any more.