Fix the selection of an contenteditable element on focus

The element sometimes is not selected correctly when it is focused.
This commit changes the timeout period from 1 to 50.

In fact, this should be done with a callback but this problem is not
critical :p
Merge pull request #100 from kaznum/fix_select_all_on_focus_of_contenteditable

Fix select all on focus of contenteditable