supplemental divs
added a partially stubbed out store_survey method
display supp divs when needed
Create supps, store, and dump to db
Merge branch 'master' of github.com:biocore/american-gut-web into issue_134

Conflicts:
	amgut/handlers/human_survey.py
	amgut/lib/util.py
Merge branch 'master' of github.com:biocore/american-gut-web into issue_134

Conflicts:
	amgut/handlers/human_survey.py
Add available locales

And check specified locale in config_manager
add email settings to config file
Send email on error. Fix #169
Merge branch 'issue_134' of https://github.com/wasade/american-gut-web into generate_survey_python_structures
ENH: Add creation of production environment

NOTE THIS IS BROKEN AND IT DOESN'T FUCKING WORK, FUCK FUCKING PERMSSIONS
WITH FUCKING PGSQL THERE'S NO FUCKING WAY TO MAKE THAT FUCKING THING DO
THE FUCKING THING WE ARE TRYING TO.

FIXES #FUCK-YOU-PSQL
Rename human_survey_supp.py to survey_supp.py
Add DB connection to amgut init module
Add new survey structures, simplify survey_supp.py
Remove no-longer-existant structures from import
Begin editing handler and template

Use the new structures
Merge branch 'production-db' of github.com:ElDeveloper/american-gut-web into eldeveloper-proddb
should be working now:

(python27)21:52:40 scripts@eldeveloper-proddb$ ./ag env make production
Creating database
Inserting procedures
Building SQL layout
Granting privileges
Privileges granted
Production environment successfully created
(python27)21:52:43 scripts@eldeveloper-proddb$ psql -d ag2 -U ag_wwwuser
Expanded display is used automatically.

Current Host Server Date Time : Fri Oct  3 21:52:51 MDT 2014

Administrative queries:

            :settings   -- Server Settings
            :conninfo   -- Server connections
            :activity   -- Server activity
            :locks      -- Lock info
            :waits      -- Waiting queires
            :dbsize     -- Database Size
            :tablesize  -- Tables Size
            :uselesscol -- Useless columns
            :uptime     -- Server uptime
            :menu       -- Help Menu
            \h      -- Help with SQL commands
            \?      -- Help with psql commands

Development queries:

            :sp     -- Current Search Path
            :clear      -- Clear screen
            :ll     -- List

psql (9.3.0)
Type "help" for help.

(ag_wwwuser@[local]:5432) [ag2]> select count(1) from ag.ag_kit;
+-------+
| count |
+-------+
|     0 |
+-------+
(1 row)

Time: 4.147 ms
Merge branch 'generate_survey_python_structures' of github.com:adamrp/american-gut-web into adam_gensurvey

Conflicts:
	amgut/handlers/human_survey.py
back to almost working