Add server and router capture

Create a central object that both site_linux_server and
site_linux_router inherit from.  This object can query for wireless
hardware and frequency support, and adds commands for starting and
stopping capture.  This way "{router,server}_netdump_start" commands
now exist.  Additionally add a command line option so that:

   ./bin/cros_run_wifi_tests.sh --args="run_options=router_capture_all" ...
   ./bin/cros_run_wifi_tests.sh --args="run_options=server_capture_all" ...

will automatically start and stop captures for all tests run.

As a part of this consolidation, the code for selecting phy interfaces
and creating devices out of the phys has been centralized and tailored
towards phasing out the old "phydevN" configuration parameter.

BUG=chromium-os:15556
TEST=Run test with "run_options={router,server}_capture_all" argument added
Used a selection of tests including 001, 002 Matfunc (doing multiple
sequential configs in a row), CheckHT40 (ensured that ht40 argument is
properly passed and traffic is captured correctly), Roaming
MultiSwitchback (make sure captures happen on both frequencies -- in
this case serially since the code doesn't yet support multiple parallel
captures).

Change-Id: I937b37b7828475835ffbcf6b119cceb6291271b8
Reviewed-on: http://gerrit.chromium.org/gerrit/1216
Reviewed-by: Sam Leffler <sleffler@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
5 files changed