Added comments to strip_newlines.sh bash script

I didn't mention this script in the last commit, so I added comments to
document its functions in order to mention the script in a commit
message.

This script exists to convert human readable design documents into
valid JSON that can be sent to a CouchDB database.