Manual merge of mcxtoprofile.py by gregneagle:
Manual merge of mcxtoprofile.py by gregneagle:

- now supports input directly from a DS node using --dsobject
- switched to optparse for Python 2.6 / OS X 10.6 compatibility
- made --manage option into a separate options group for --plist
- more manual options handling depending on --plist or --dsobject

scriptingosx/mcxToProfile,timsutton/mcxToProfile