Put deploy->apply in test suite
Clean up haas/api.py, and write helper for namespaced-searching

This is a terrible commit.  I'm sorry.

- Make the names of arguments to functions be uniform.  Note that I'm
  type-punning the arguments.  They start as strings and turn into objects.
  This should have been a separate commit, but it wasn't when I did it, and I
  found it nearly impossible to separate out.

- Create 'owner' field of namespaced objects.  This replaces the old 'node'
  field on nics, 'headnode' field on hnics, and 'switch' field on ports.  This
  makes the searching much nicer.  (Also fix the small number of tests that
  referenced those fields directly.)

- Write helper functions _must_find_n and _assert_absent_n, for namespaced
  searching, and use them everywhere appropriate
Update docstrings in haas/api.py
Factor out common SQL query
Merge pull request #190 from gsilvis/abstract-get

Namespaced searching