Implemented in mds_adapter.py get_gps_list_and_diagnosis()

Implemented the get_gps_list_and_diagnosis() to get data from mds
server. Also fixed some syntax errors in mds_adapter.py