Move footprinting code into a single function. Fix Ubuntu issues.

The footprinting code was repeated for every OS, so I condensed it into a single function with variables to determine the file extension.

There also turned out to be issues on Ubuntu. chkconfig is no longer supported by Ubuntu, so the command to list services was changed to initctl.
More cleanup.

Moved 'final' code (for *nix) into its own function.
Whoops. Removed test files.
Change services command to work on both Ubuntu and Debian.

Was using 'initctl' for Ubuntu, but changed to 'service' because both Debian and Ubuntu include it.
Extra '.' in file name.
Fixed function call in Windows.
Moved Windows footprinting into its own function.
Use regular expression to match excluded paths in filesystem footprinting.
Fix regexes
Fix Windows regex.
Collapse footprints into one function.
Fix regex scoping.
Fix variable name.
Fix regexp usage.
Fix regexp escapes.
Fix services file extension.
Remove extra call to output message.
Whoops. Removed Windows registry combing.
Add nother newline in registry comparison output.