Fixed PaginatedCriteria and PersistRouteUrl extension.

They didn't work with null values which is not a critical issue but
fixed.
Updated Entity Framework versions to .NET 4.0
Added RemoveIfStartsWith string extension.