Added LIMIT handling.
Merge pull request #11 from haroldcarr/master

Added LIMIT handling.