Merge with linq branch

Merged from master with linq branch.
Upgraded to framework 4.0 because of SolrNet.LINQ requirements.
Fixed build script to merge also SolrNel.LINQ.dll