Add dependency for OpenSSL.

OpenSSL is needed for signature validation and generation, so list
it as a dependency.
Add the XML DOM as a dependency.

The XML DOM extension is required for parsing and serializing the XML
messages.
build.xml: Add path-argument to phpmd-target.

The phpmd-command fails without this argument.