Removed ensures in non-external classes.
Cache scope without weak reference
Added StyleCop settings file and resharper solution settings file.