Make setup.py an executable
Add function that checks for whitelisted urls
Make Whitelisted urls configurable

This gives the developer greater flexibility with whitelisting certain urls paths from causing the a redirect.
Make the testing names more consistent