Mke error page nice and log errors using logger
remove if statement for logging
rename initialize.sql -> patches/0.sql and avoid code duplication on rebuilding the test database
Adding the environmental packages to the database
Change study_id to preprocessed_data_id in ebi
Remove support for multiple preps from ebi

We will be doing a separate EBISubmission for each preprocessed data,
so the object need only support a single prep at a time
Fix tests to expect only one prep
Merge branch 'master' of https://github.com/biocore/qiita into ebi_one_prep_template_per_submission

Conflicts:
	qiita_ware/test/test_ebi.py
Addressing comments
Modifiying the structure of the database for env packages, so each env package will have it's own table
New interface for EBI submission command

Has many fewer parameters now since it depends on having a preprocessed data
ID in the database
Add a samples parameter to MetadataMap.to_file

Defaults to None. If it is not None, only the specified samples will be written
to the file.
Roll together dispatchable EBI submit into CLI cmd

The code executed by invoking the CLI call now does almost the same exact thing
as the code executed when invoking the command through the web interface
Merge branch 'master' of https://github.com/biocore/qiita into ebi_one_prep_template_per_submission
Test for new MetadataTemplate.to_file parameter
Adding the patches folder to the setup.py
Add preprocessed data id to study description page

Easier than looking it up all the time
Remove unused param, reorder params
Sample and prep templates must be files, not objs
stupid nosetests... renaming test -> tst