Create statusdb-get.sh

BASH script for getting the view defined by a JavaScript function from a CouchDB database. The script reads the JS function from a file, puts it in a JSON object, posts it to the database server and returns output.