CDAP-589 Example of service discovery from MR

Updated PurchaseApp to add UserProfile service and demonstrate its use from MR.
Don't you need to close the stream too ?