Update object/object.class.php

Added getPrev/getNext to get prev/next controller in routes