Make flask's debug mode configurable.

We don't want to be using this in production.
Added a note to headnode_cleanup in haas/test_common.py that documents our
issues with libvirt undefine.
Fix small doc problems in deployment tests
Abstract out Dell vlan config parsing
Merge pull request #216 from zenhack/debug-cfg

Make flask's debug mode configurable.
Merge pull request #217 from gsilvis/typos

Fix small doc problems in deployment tests
Merge pull request #218 from gsilvis/dell-cleanup

Abstract out Dell vlan config parsing
Merge branch 'stacked-switches' of https://github.com/yiyunma/haas into generalize-deployment-tests
Merge pull request #219 from ryabouza/document-libvirt-undefine-issues

Added a note to headnode_cleanup in haas/test_common.py that documents o...
Check that a nic has a port in project_apply
dell: Log into switch only once in apply_networking
Log a warning for unattached NICs
Fix 'log out' comment
Clean up logging code
Merge pull request #220 from gsilvis/204

Check that a nic has a port in project_apply
Merge pull request #221 from gsilvis/213

dell: Log into switch only once in apply_networking
Generalized Deployment Tests
I generalized the deployment tests by removing all of the hard coded node
names, ports, and nics, and instead imported them from a JSON file.  The JSON
file's name is defined in deployment.cfg, and the file is used to populate
information about the environment that the deployment tests will be run in.

I also cleaned up the imports in tests/tests/deployment.py.
Log API calls, under 'debug' level

To make this work, move the 'no_dry_run' logging to 'info' level, as it's
clearly more important.  Also fix order of nested decorators, to make function
name propagate correctly.
Remove unnecessary comment in test_common.py
Optimized loop in test_isolated_networks
Loop now breaks when 4 nodes are attached to a network, instead of iterating
over all the nodes anyways.