Fixed a number of CLI related issues.

https://issues.jboss.org/browse/SRAMP-221
https://issues.jboss.org/browse/SRAMP-220
https://issues.jboss.org/browse/SRAMP-219
https://issues.jboss.org/browse/SRAMP-222