Refactoring According to pear standard

Refactoring tbl_addfield.php tbl_indexes.php and tbl_create.php according to pear coding standards.