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
Since the function was returning an object instead of true/false. I wasn't sure if we had a convention for these return values. I'm fine with changing it if we think that that makes sense