Remove warnings

Type parameter 'T' has the same name as the type parameter from outer
type
Upgrae to .NET 4.5.1 and ass assert to tests

that there really is only one sql query for update of composites.