Changed output.html to not escape handlebars input.  Originally thought this was an issue with cradle but it was handlebars all along and so I wrote functions in database.js for escaping entire documents.  Since couch wasn't the issue, these functions aren't in use but I left them in since they could be potentially useful.  Also implemented a function to perform a function on each document in a database.