Moved a part of test API to /submitcontacts API...

deletes the contacts uploaded previously and store the phonebook
freshly.