Adding the excludes to obfuscator

Uses native require for the excludes array specified. Uses regex so folders can be given to excludes