build: Depend on coffee 1.7

The build for the 1.2.x branch depends on a later version of
coffee-script -- the "--no-header" option was added in 1.7.0.

Fixes #405.
build: Allow either GNU or BSD sed

This allows the use of either GNU ("sed -i -e ...") or BSD ("sed -i ''
-e ...") sed.