fixup logging
[artwork] save artwork path in cache
[artwork] update cache
[artwork] move common db function to db_utils.c and set cache size, page
size, synchronous and jorunal mode for artwork cache db