Relax open_local_resource rules.

An XBlock developer couldn't figure out why his static files weren't
serving.  At the very least, dots in the filename should be ok.
Fix pylint errors to fix the build.