add an option to hide icon from docker

- close #110 and fix #44
- known bug: not functional under os x 10.7 (no NSDefaults read/write in fact)