Changing string_2_boolean with api_string_2_boolean
Minor - format code.
Minor - using api_get_course_info() and "api_" functions.
Removing global calls.
Replacing <form> with FormValidator cleaning code, removing globals calls; see BT#5749
Merge branch '1.9.x' of github.com:chamilo/chamilo-lms into nuevo