8.0 account default draft move

Port account default draft move and account constraint to 8.0
it is also importable from openerp, so the 3 lines could be reduced to:

    from openerp import models, api, exceptions, _