Adding expose ports parameter

Adding expose ports parameter to provide --expose feature in template. Updated documentation to reflect usage.