fixes incorrect active window detection
renamed function with powerline prefix
Merge pull request #55 from LouisKottmann/master

fixes incorrect active window detection in newer emacsen