* refactored to do field validation with pattern matching instead of nested case statements, added simple test script
 * validation resource GET working
 * dropped PUT method on form-enterprise-register in favor of GET on validation resource
 * added some support for couchdb views, refactored registration and validation
 * verifying credentials and returning auth_code if credentials exist, added and modified test scripts
 * posting auth code to db and returning response
 * checking auth code and returning session token if not expired
 * created setup docs to dump docs from my local couch and PUT to a new location
 * using update handler to invalidate auth code after use
 * removed unused function head
 * returning app_id and client_id with validation response
 * checking redirect uri during auth
 * refactored user create and validate resources to make them more readable and more reliable