Modify Java options passed to Play

Passing Java options to the Play startup script corrupts any with
embedded single quotes. Substitute escaped double quotes to avoid
this.

Also log the output of compile and detect for easier problem
diagnosis.

[#51899933]
Merge 51899933-Play-container to master

[#51899933]