XD-473 Improving command line argument access

Making the command line argument access compatible
with all environments supported by the batch script
Merge branch 'XD-473B' of https://github.com/trisberg/spring-xd into trisberg-XD-473B