Add. extender_errcode and prepare_v2 methods to db.
Add. Extended error codes.
Remove lunit from distro.
Update some tests.