Use functools.wraps in `no_dry_run`.
Remove unused trunk_nic variables.

Also: remove some trailing whitespace.
Replace `map(lambda...` with list comprehensions.

This tends to be slightly more concise/readable.
Add test case for project_apply on nics w/o ports

The relevant code wasn't covered before, and the test is failing. The
fix is pretty obvious, and will be in the next commit.
Fix a trival bug re: nics w/o ports

Specifically, the network was being accessed through a variable that
didn't exist in the logging call.
Remove unused variable `projectname`
Fixed pass bug in dell driver
If a vlan is not in the DB when the driver tries to remove it, an error is
logged and an exception is thrown.
Also, a test was added to test this functionality.
free_network_id no longer throws an exception
Also, added some comments to the unit test for this function.
Removed unneeded import
Merge pull request #226 from zenhack/housecleaning

Housecleaning
Merge pull request #227 from zenhack/project_apply_bugfix

Project apply bugfix
Fix port_register bug

This patch fixes two problems.
In cli.py, quote by default assumes that '/' characters are
safe.  An empty string was provided to signify that is is
not safe and should be escaped.

In api.py, flask was decoding port names before evaluating a
URI.  This caused 404 errors when evaulating the URI if
there were '/' characters in the name.  To fix, 'path:' was
added before the port argument to signify that the argument
should not be decoded.
Merge pull request #230 from ryabouza/dell-pass-bugfix

Fixed pass bug in dell driver
Merge pull request #236 from ryabouza/port_register_bugfix

Fixed port_register bug