Gaia fix for placing cdma call waiting call in the call log

Unfortunately this code doesn't guarantee that the app is holding the high-priority wake-lock before having stored the second call in the DB.

The issue here is that you need to release the high-priority wakelock only when you're done logging both calls. This is tricky because in both cases this is happening asynchronously. What you could do is move this code inside the first CallLogDBManager.add() callback above and then release the wakelock there only if the 'secondNumber' field is not present; if 'secondNumber' is present then defer releasing the wakelockto the following CallLogDBManager.add() callback.

A more adventurous but far more elegant way of doing this would be to convert CallLogDBManager.add() to use promises and then use Promise.all() to release the wake-lock only after both CallLogDBManager.add() calls have been executed.