Fixed bug where null service name is added to app services

Fixed bug where null service name is added to an application's list of bound services, when the service has had no bound services. Added three test cases to test this scenario, in particular using the update Services client API.