Fix limit for MSSQL adapter for SQL 2000.

When calling .first on a model with an order and no where condition, order was skipped.
There is a if/else condition detecting if the request request a first row.
In the else (with where) the order was properly processed and integrated.

I've been extracting the code for formatting the ORDER out of the if/else
and using it whatever way we generate the SQL Query.