Made WebApplication and StaticResource handle files with more than one dot [fixes #6]