MDL-38367 course dndupload - various tweaks to the UI

Switched to Moodle-style dialog boxes (thanks Andrew for the pointer)
Enter button now submits the form (from within the 'name' field)
Upload button is disabled when the name is empty (if the name is required for the selected handler)
Dialog now has 'What do you want to do with this text?' and 'Name' for the text
Entire course section now has a class added when you drag over it (to enable it to be styled in the future)
MDL-38367 course dndupload - workaround to allow 'add X here' text to be drop target in Firefox
MDL-38049 form: Collapsed sections are hidden on page load
MDL-38453 form: RTL styles for short forms
MDL-36198 allow themes to specify yui cssnormalize or disable all CSS resets
MDL-37079 create/update_module()
MDL-37079 Added many assertEquals + generic test function (easy to test new module)  + now process next advanced grading screens
MDL-37079 remove TODO, add . in comments
MDL-37079 switch the modedit.php functions into course/modedit.php
MDL-37079 missed one modedit.php change since started to work on the issue
MDL-38524 behat: Using wildcard instead of hardcoded version
MDL-38367 course dndupload - deprecate public 'add_type' function, remove non-YUI3 API call to _node
Merge branch 'w12_MDL-36198_m25_yuireset' of git://github.com/skodak/moodle
Merge branch 'MDL-38524_master' of git://github.com/dmonllao/moodle
Merge branch 'MDL-38367_dnd_ui_improvements' of git://github.com/davosmith/moodle
MDL-38367 Course dnduploadlib : deprecated add_* functions as they are internal to the class.
Merge branch 'MDL-37079-master2' of git://github.com/mouneyrac/moodle
MDL-37079 Course create/update module. Fix indenting, some comment formatting and whitespace.
Merge branch 'MDL-38049-master' of git://github.com/FMCorz/moodle
Merge branch 'MDL-38453-master' of git://github.com/FMCorz/moodle