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
Is there a reason for returning 'None' instead of main.FALSE (per convention)?