Modified so that docx will be held and can be modified in the memory of the
program, rather than a combination of memory and the template folder.
Updated example-makedocument.py to work with my changes.
Fixed some bugs introduced in my refactoring.
- Search and replace now work with headers and footers.
Merge remote branch 'upstream/master'

Merging upstream diffs in docx.py.
Fixed getrelationshiplist() to work with Word docs that aren't in rId order.
tomchipchase