Added replace parameter for setText

Requires https://github.com/admc/wd/pull/333 to be pulled first.

I also want to create a test for this in keyboard-specs.js but I can add that in another pull. 

Tested with the wd.js change and it works for me.
this is going to crash the server with a `java.lang.ClassCastException` if replace isn't a boolean.

```java
final Hashtable<String, Object> params = new Hashtable<String, Object>();
params.put("replace", "test");

// Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
// boolean replace = (Boolean) params.get("replace");

// this works
boolean replace = Boolean.parseBoolean(params.get("replace").toString());

System.out.println(replace);
```