Refactor some code
Emit event on zentyal start
First dispatch an event and then log it
Emit event on zentyal stop
Catch exception in case mysql is already stopped
Add changelog entry
Added calls to methods to generate alerts on VM start/stop
Generate VM stop alerts on module stop
Reload the page after saving changes if a VM has been modified
Merge branch 'master' into rduran/new-events

Conflicts:
	main/core/ChangeLog
Log exception
Merge branch 'master' into rduran/new-events

Conflicts:
	main/core/ChangeLog
Remove unnecessary code
Merge branch 'rduran/new-events' of github.com:Zentyal/zentyal into rduran/new-events
Merge branch 'master' into rduran/new-events

Conflicts:
	main/core/ChangeLog
	main/virt/ChangeLog
Merge branch 'rduran/new-events' of github.com:Zentyal/zentyal into rduran/new-events

Conflicts:
	main/core/ChangeLog
Merge branch 'rduran/new-events'

Conflicts:
	main/core/ChangeLog
	main/virt/ChangeLog