Add functions for getting and setting controller roles of switches

    * add roles()
    * add get_role()
    * merge two versions of device_role()
    * comment out debug print statements
Comment out print statement
Update my test for testing driver functions