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).
Merge pull request #195 from defunkt/thing-defun

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