Many changes

- use env to determine python bin
- docopt to parse command line arguments
- preserve existing bits in attribute when setting color.
- ignore xattribute bits not used for color when getting color
Merge changes from Panayotis, with simplified interface, etc.