[Arrays] Refactoring rest() to be inline with how first() and last() work now; docblocks and other minor changes.