This commit introduces some changes in pdf2html.src.main.java.
1. A method captureStream() was created which is used to redirect the console output to a String.
2. It takes InputStream, PDF2HTMLServiceImpl as arguments.
3. convertPage() call has been shifted to inside captureStream().
4. Using a custom PrintStream, we are able to return the console output as a String.
5. The String so returned is printed to console again just to be sure.