Factored transaction building logic of unwrap transactions into
dedicated method in canvas model.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>