update libraries to 4.5; change framework to 4.5; fix resharper 8 issues

resharper cleanup all files