make dberr.Error thread-safe
Merge pull request #78 from omeid/master

Make dberr.Error thread-safe.
fix doc update
Merge branch 'master' into webjwt