Minor fixes and Moodle 2.6 support
Added user uploading of files and other small improvements