Added support and test for LIMIT parsing.