Prevent loading ontologies with test environment
Do not check DB name when checking test env

The database name should not factor into the decision of whether or not
the environment is a test environment. E.g., I have many test databases setup,
and they are named qiita_test2, my_qiita_test, etc.
Remove unused ENVIRONMENTS global
Remove ENA_test ontology

Taking a different approach instead: do not allow ontologies to be laoded
if it is a test environment
Typo: forgot to close string
Fix minor typo; thanks @ElDeveloper!
Revert "Remove unused ENVIRONMENTS global"

This reverts commit e01d3bd43581321541a12e0400bc3c4d337c964b.
Remove two unused variables
Fix travis to check scripts explicitly

just doing `flake8 scripts/` is not enough, since flake8 only checks py files
recursively, so it must be told to check the scripts directly
Fix failing tests

Forgot to change the tests for ontology.py
Merge pull request #615 from adamrp/flake8_checking

Flake8 checking
Merge pull request #614 from adamrp/ena_ontology_arggggghhhh

Ena ontology arggggghhhh
Merge branch 'master' of https://github.com/biocore/qiita into ebi_one_prep_template_per_submission

Conflicts:
	qiita_ware/test/test_ebi.py
BUG: Add whitespace scrubbing from sample name

Sample names are now scrubbed for trailing white spaces.

Fixes #609
Merge branch 'master' of git://github.com/biocore/qiita into issue-609
TST: Fix tests to use assert_frame_equal
Merge pull request #616 from ElDeveloper/issue-609

BUG: Add whitespace scrubbing from sample name
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