Remove LogPrint function, replace with Log class.

Move time functions from util.{h,cpp} to bitcointime.{h,cpp} (can not use time.h).
Remove error(...) function.