Allow java options in path_to_java

Since version 4.0 we can't use option in java_bin_path anymore. Previosly  we have hacks like this java_bin_path: 'java -Xmx64m' in yaml - but subprocess python module require different way.

This is quick and dirty patch helps to understand of what we a looking. I think there should be more sophisticated way to provide the same capability.

What do you think ?