fix bug in MachineUpdateView
add field Machine.contract_item
move automatic machine numeration to model
add view to convert contract line into machine