Correctly search for {h,}nics belonging to {head,}nodes
Check that arguments belong to same project

This is only relevant to the few calls that take two resources, such as
'node_attach_network'
s/deployed/dirty/ in project model
Implement dirty logic

All tests pass, but that is only because our test-suite doesn't exercise
anything that this change would affect.  That should be fixed.
Test dirty logic

Several tests fail---they are fixed in the two subsequent commits.
Raise exceptions in project_delete

... rather than returning them, which is wrong.
Change order of precondition-checks in node_detach_network

Specifically, test that the node is in a group before checking that it's
connected.  Logically, we should not check for networks connected to a node
that does not even belong to a project.  Secondly, when we start doing
authorization, we will need to check that the user is authorized to see the
project before potentially returning information about the node (namely, that
it is not attached to any networks.)
Make 'dirty' field non-nullable
Fix typo in a comment in haas/api.py
Fix typo in docstring in haas/api.py
Merge pull request #171 from gsilvis/dirty

Implement 'dirty bit' logic