install zmq and use virtualenv

This tackles both Bug 1042183 and Bug 1037089 by installing zmq (needed for device integration tests), installing the needed npm packages for device tests, and turning on the virtualenv (device tests use a python service to manage the device).
Add an indent for ```ifeq ... endif```