Made Configuration ignore a few common options

Gradle passes the -doctitle and -windowtitle options to all doclets which causes this doclet to fail if executed by gradle. By accepting these options (returning a proper length in getOptionLength) the doclet can run under gradle even if these options are present.