Updated keepasshttp and autotype for OS-X to work with current 2.0-alpha

This is all a bit hacked together from other peoples code, but it seems to work.