added optional parameter ignoreWWW
better to use regex early to weed out the www subdomains
added ignore logic to first if instead of adding a nested condition
Merge pull request #9 from jeddawson/ignoreWWW

Added an option to ignore www subdomains (instead of redirecting)