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
Add ordering links to template_tasks
Fix controller to add default template to new project instead of before_create filter
Merge pull request #102 from irasally/fix-copying-project-bug

プロジェクトを複製したときにもデフォルトテンプレートが追加されてしまう不具合を修正
Add specs for template_tasks_controller to change position
Specify the sort rule of the template tasks
Add the routing specs for TemplateTasksController#move_higher/move_lower
Fix the specs for template_tasks/index.html.erb to support positioning
Merge pull request #103 from kaznum/ordering_template_tasks

Ordering template tasks
Fix Ruby 1.9.3's rspec error

File coding should be specified for Ruby 1.9.3
Add missing ':' of the magic comment
Merge pull request #104 from kaznum/fix_ruby193_error

Fix Ruby 1.9.3's rspec error