Further work on dialogControl.js

Dialogs are now displayed when the specified image is clicked.

ToDo:
- Eventrigger for quizzes
- Layout editing for dialogbox
Merge branch 'master' of github.com:shitsumon/MMProject12

Conflicts:
	js/core/dialogControl.js
	js/core/dialogParser.js