Add waitForSlave() wrapper function to Echo Database wrapper

Plus a couple of comments update

Change-Id: I1678cd1cfde88806a15b280532ecfc6cf2672e38
Merge "Add waitForSlave() wrapper function to Echo Database wrapper"