[8.0] Port the module 'account_move_template' to the new API

This PR contains the module ***account_move_template*** ported to the new API.
Test and installation seems to me ok.

Let's see what will be the TravisCI response and your reviews :wink: 
 > It would be better to pass "computed lines" to self.lines() with an argument.

@guewen how can I do this keeping at the same time the recursion for the method ```lines```?Could you please give me some hints?

Thank you in advance.