Code cleanup

Re-ordered the methods to better match how the extraction code executes,
Tweaked some comments
Indentation tweak

Changed the conditions that causes an indentation to be added to the
page
Text indentation bugfix

Indentation is only applied at the start of a paragraph (bugfix),
Multi-indentation now works - rather than always being set as one level
indent (enhancement)
Merge pull request #29 from PhilGale92/dev

Text indentation enhacements