added persp switch hook to be run after a `persp-switch` action
only kill live buffers

fixes #27
Merge pull request #36 from csantosb/switch-hook

added persp switch hook to be run after a `persp-switch` action
Merge pull request #38 from csrhodes/killing-perspectives

only kill live buffers
Fixed a syntax error introduced in 6af3e46c
Merge pull request #39 from 501st-alpha1/master

Fixed a syntax error introduced in 6af3e46c