MDL-38435 form: Sections can be expanded by default
MDL-38340 form: Last fieldset is collapsed by default
MDL-38215 Fix cross-db support in workshop SQL queries

The $sql used in these methods may contain multiple parts glued
together by the UNION operator. Simply appending the ORDER BY statement
to the end of the query does not work in all DBs (failure reported at
Oracle). Following the pattern already applied in MDL-30051, we wrap the
SQL into yet another SELECT statement and perform ordering there.

Credit goes to Sara Cenni for suggesting the fix.
MDL-38005 form: Headers have a proper name
MDL-38474 repository: Cannot edit a repository instance
Merge branch 'MDL-38474-master' of git://github.com/FMCorz/moodle
MDL-25655 glossary: non full searches now working.

In the process of updting the module from 1.9 to
2.0 the (non) full search feature was lost without notice.

This restitutes it with the same behavior present in 1.9:

- fullsearch disabled: look into concepts and aliases.
- fullsearch enabled (default): look also into definitions.
Merge branch 'MDL-38215-workshop-oracle' of git://github.com/mudrd8mz/moodle
Merge branch 'MDL-38435-master' of git://github.com/FMCorz/moodle
Merge branch 'MDL-38340-master' of git://github.com/FMCorz/moodle
Merge branch 'MDL-38005-master' of git://github.com/FMCorz/moodle
MDL-38005 formslib: Removing additional duplicate headers in calculated question form.
MDL-36804 mod_assign - allow students to resubmit work and display a submission + grading history

New branch based off work from Davo Smith:

commit ecad5ff0c41d5cf8925399bfbe9dc2a429375ad3
Author: Davo Smith <git@davosmith.co.uk>
Date:   Thu Dec 13 22:09:52 2012 +0000

    MDL-36804 mod_assign - allow students to resubmit work and display a submission + grading history
MDL-36804: Grading table now correctly only shows the last grade or submission.
MDL-36804 Assignment: history renderable added to single grade page - just need to make it usable.
Push!
MDL-36804: Added a js module to collapse the submission history
MDL-36804: Assignment history: Added missing yui files
MDL-36804: CSS Fixes for lots of pages required to add new feature nicely.
MDL-36804: More stylesheet tweaks and grading form improvements.