code: public static VarSpec var(String varName, boolean explode)
      {
          if (explode)
          {
              return var(varName, Modifier.EXPLODE, null);
          }
          return var(varName, Modifier.NONE, null);
      }
docs: Adds a variable name to the expression with an explode modifier.
  <p>
  <pre>
  var("foo",true);
  </pre>
  <p>
  Will yield the following expression:
  <pre>
  {foo*}
  </pre>
  
  @param varName the varspec name
  @param explode boolean to indicate that this VarSpec should use the explode modifer
  @return the {@link com.damnhandy.uri.template.impl.VarSpec} for the specified name