Set begining-of-defun, end-of-defun function

coffee-mode.el does not use them begining-of-defun and end-of-defun,
but this is useful such as (thing-at-point 'defun).