Documentation build warning fixes.

Invalid links and refences fixed.
SpaeseMat class documentation updated.
Fix dependencies inference for auto-disabled targets

Sometimes information about dependencies causing disabling were loosed and it
was not possible to correctly display these dependencies in status report
Fix incorrect Mat address reconstruction on 64-bit platforms

This fixes random failures in Java wrappers.
Fix documentation build with Sphinx 1.07
Merge pull request #300 from taka-no-me:java_64bit
Merge pull request #302 from taka-no-me:fix_doc_sphinx107
Merge pull request #297 from taka-no-me:fix_deps
Merge pull request #296 from asmorkalov:html_docs_warning_fix