Add more unittests to guest agent

Adding more tests to the dbaas.py class.

Deleted some unused imports from dbaas.py class

Deleted unused method restart_with_sync

Bug# 1090139

Change-Id: I97b67815c8e31c2f95b6070a1ddde18b93a5a6c0
Merge "Add more unittests to guest agent"