Added SQL for when the id is not defined.
Update branch from master.
Moodle chrome added to targets
Move Moodle chrome view to view_M
set moodle vars
add comment
add update view
fix merge conflict
add urls for update & delete
added update activity
fix merge conflict
added MOODLECONFIGFILE