Update lib/Model.php

Enable setLimit and setOrder support in Model if it have associated controller and controller has such method