CRAFTERCMS-303
Added cleanup of deployment tables on delete site action.
CRAFTERCMS-323: Hide 'Schedule' and 'Go Live' when a content is locked

Hide 'Schedule', 'Go Live' and 'Submit to Go Live' when a content is
locked for edit.
Merge remote-tracking branch 'david/master'