Try to make random_char_replacement clearer

(Not sure I was successful)
Make sure the dictionary is copied
fix bugs in new randomise layout
fix tests for new randomise layout
Add in .testr.conf for tox
Fix package imports
Fix tox configuration
fix pep8 issues
Merge pull request #10 from jhesketh/refactor

Try to make random_char_replacement clearer