Removed stats, sync_log and lw_thread wrappers.

These are best implemented at the higher level. Different users will care
about different aspects and want different types of stats. If common patterns
emerge, we can wrappers around the APIs instead of embedding it inside.