powerdump.ps1 bug - corrupt hash fix

Fixed the bug where the hashes are not being extracted correctly when LM is disabled and history is enabled. 

Rather than relying on length, LM and NT headers are checked. Four bytes at 0xa0 show if LM exists and four bytes at 0xac show if NT exists. Details on this known issue can be found in the following whitepaper from blackhat:
https://media.blackhat.com/bh-us-12/Briefings/Reynolds/BH_US_12_Reynods_Stamp_Out_Hash_WP.pdf
tab to space change -  line 296
identified instances of tabs vs spaces in the original

identified 16 instances in the original code where tab was used vs spaces. updated to keep consistent.
Merge remote-tracking branch 'upstream/master' into pr4233_powerdump
Fix strip_whitespace speccing
Remove debug file writes
Merge pull request #1 from Meatballs1/pr4233_powerdump

Pr4233 powerdump
Add token fiddling from nishang
Land #4233, Fix PowerDump hash corruption