Implement changes in #57: improve behaviour of dumped files
cleaned test cases for append in file pickling; note 2 test failures for case 3


git-svn-id: svn+ssh://svn.mystic.cacr.caltech.edu/pathos/dill@697 8bfda07e-5b16-0410-ab1d-fd04ec2748df
Merge branch 'master' of https://github.com/uqfoundation/dill
Merge branch 'master' of https://github.com/uqfoundation/dill into new_file_handling
Fixes for test and due to test
Change file pickling to avoid \x00 chars
Add different file pickling modes
Change to use os.open to avoid visible mode change
Add file modes to `__all__`, switch on safe_file tests, improve mode x handling and fix shabang
Add backwards compatibility to file handling
Fix for python 2.5
fix: if 'exit' not defined; make test_file 2.5 compatable


git-svn-id: svn+ssh://svn.mystic.cacr.caltech.edu/pathos/dill@700 8bfda07e-5b16-0410-ab1d-fd04ec2748df
Merge branch 'master' of https://github.com/uqfoundation/dill
Add extra handling for x mode
Merge branch 'master' of https://github.com/uqfoundation/dill into new_file_handling

Conflicts:
	tests/test_file.py
Change safe_file to a more generic name safeio
Fix test failure (stupid mistake)
Fix 3.0 - 3.2 incompatibility in save_module
Merge pull request #64 from matsjoyce/module_fix

Fix 3.0 - 3.2 incompatibility in save_module
fix: incompatibility in save_module


git-svn-id: svn+ssh://svn.mystic.cacr.caltech.edu/pathos/dill@701 8bfda07e-5b16-0410-ab1d-fd04ec2748df