fix resharper 8 complaints
update libraries to 4.5; change target to 4.5; fix resharper 8 issues