Refactoring tbl_columns_definition_form.inc.php

Hi Marc,
I have added a new library file and extracted some functions using extract method.