Add silver_assert(), plus a bunch of other fixes.

Signed-off-by: Thiago Farina <tfarina@chromium.org>