Move interactive code of Discover Primary to gatt.c

Initial patch to move the shared code related to Discover All Primary
Services and Discover Primary Services by UUID to gatt.c.
6 files changed