Fix row count reported when copying to clipboard.

Refer to oConfig object to determine whether Header and footer rows are included in the copied data
Fix row count reported when copying to clipboard.

tidy up formatting
Account for footer only if it exists
Merge pull request #50 from robberwick/fix_copied_row_count

Fix copied row count