1870 add language option to mapreduce editor

This should close the deceptively simple sounding [COUCHDB-1870](https://issues.apache.org/jira/browse/COUCHDB-1870).

It includes a new ACE mode for CoffeeScript and all the surrounding ephemera.

Enjoy! :cake: