Release 1.8 for Moodle 2.7
refactor and cleanup code a bit
Minor cosmetic fixes in the form
release 1.9