add sml-mode expansion for fun and val definitions

This adds an expansion for function and value binding expressions, by
relying on sml-mode's own support, and for some other 
expressions easily identified by initial keywords (case expressions,
let expressions, if expressions, raise expressions).