Fixing PHP notice
Reformat code
Improving extra field management, with 1 script we can manage all extra fields (course, session, question) see BT#6098
Adding question extra field DB changes see BT#6098