add hook lookup tests
fix resolving symlinks in rbenv-hooks
Merge remote-tracking branch 'sstephenson/master'