Refactored the doGetAppProfile() as per Go standards
Refactored the doGetAppProfile() as per Go standards

Change-Id: I456dd5a051bf8667ae17099157903e001eae82cd
Reviewed-on: https://code-review.googlesource.com/29850
Reviewed-by: Jonathan Amsterdam <e3d3698b2ccd5955e4adf250d0785062d0f9018b@google.com>

googleapis/cloud-bigtable-cbt-cli,googleapis/cloud-bigtable-cbt-cli