add after select callback feature

As commented from thread #67 made it into single commit.

I first try using on change events on the input field for a after select callback but it seems to have 2 change events triggered from the default dom input change event and in this typeahead plugin code. So I made a after select callback for it.

Just ignore commit 'fixed window scope for chrome extensions' its just for my own use.z