Clean up string handling in powershell launch, check for JMX_PORT env var

Patch by jmckenzie; reviewed by pthompson for CASSANDRA-8423