Split patterns into lax and strict

When dealing with static data, the lax pattern can be used for matching
files on the local file system during uploads (e.g. static_files in
app.yaml) whereas the strict pattern can be used for making sure that
all endpoint requests are valid (e.g. url in app.yaml).