Add pop-in and pop-out hooks
Merge pull request #20 from kyagi/add-hook

Thank you, Yoshida-san. :)
Update document about hooks