Remove application events related code from application storage

SSIA. This code is not used since we dropped Main document support.