Add support for -D (system properties) and -classpath flags

Whitespace issues (trailing whitespaces, mixed hard tabs and spaces) are also fixed.