fix gradle-wrapper ignoring -g / --gradle-user-home switches
GRADLE-2813 - Decorate the specs exposed by javaexec {} and exec {}.

Primarily to achieve API consistency with their task counterparts.
Merge PR #165.
Minor test tweaks.