Merge pull request #100 from aweiteka/test_roles

test to set roles for appliance
Event listener harness
 * import and assign policies to send events to automate
 * import automate custom namespace to relay events
 * bottle api event listener that records events
 * test to validate events have made round-trip
Cleaned up test and environment
 * added bottle to requirements.txt
 * moved api listener setup-teardown to fixture setup_api_listener
 * improved docstring coverage
 * refactored automate