Adds the ability to safely utilize periods within the URL matching of slimrr.

This commit will first: replace all multiple, consecutive instances of periods with one period; then, it will allow the periods in the preg_match function call, allowing periods to exist within files.