Update limit() for Sqlite.

It should behave as the parent class does.
Update limit() for Postgres

It should work like the parent class.
Update limit() in SQLServer to handle large page numbers as well.