#1032 / #1034 API: Created tests for HTML / Server widgets; fixed events firing logic; fixed published status update;
Merge branch 'dev-1.7.0-api-upgrade' of github.com:devbridge/BetterCMS into dev-1.7.0-api-upgrade