Implement LIMIT in Optiq. Fixes https://github.com/jpullokkaran/Hive-CBO-Apache-Trunk/issues/7.