add removeEmptyView event and tests
Merge pull request #1802 from thejameskyle/gratimax-master

Add removeEmptyView event and tests