adding support for port ranges on --expose

Addresses #1834

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>