Extracted a function for checking plantuml.jar.
Created command to generate an image from current buffer.

Extracted a function for creating command string.