fixed design doc for getAllPatterns, changed first route to retreive all docs in couchdb/patterns