MDL-15727 basic jQuery support

See http://docs.moodle.org/dev/jQuery for more details.
MDL-15727 experimental conversion of mymobile theme