meson: Implement developer documentation build
This implements documentation build for the meson build system. The generated PDF, PS and HTML documentation is equivalent to one generated by autotools build system. The code is relatively verbose and contains duplicated blocks because meson does not support functions.
Once we remove autotools support we can refactor the documentation build to be more along the lines of !165.