Configurable file/url regex for a white list.

Added regex matching in order to white list files and urls, so only exceptions from them are sent (and 3rd party stuff can be ignored). Should also resolve issue #5