Initial commit of liblog and logcat code