CDAP-589 Example of service discovery from MR

Updated PurchaseApp to add UserProfile service and demonstrate its use from MR.
better to check for ``!= HttpURLConnection.HTTP_NO_CONTENT``and decode using ``Gson`` because assignment to ``null`` is redundant?