Minor - fixing max-width.
Minor - fixing PHP notices.
Minor - format code.
Fixing qti import total question weight bug see BT#7780

Fixing export to QTI
Minor - format code.
Merge branch '1.9.x' of ssh://github.com/chamilo/chamilo-lms into chamilo19