CCLE-4304 - Open source Site invitation

* Fixing Moodle 2.5 specific form logic.
* Reworked version numbers so that they are aligned with the UCLA specific branch.
* Fixed form warnings.