Guard against null grammar

Some pane items might have this method but always return a non-null value

Closes atom/atom#3602
Don't use deprecated APIs
Stop sending pane items when deactivated
Prepare 0.35.0 release