Added offset and limit funcionality

Just added two little functions for offset and limits of results. I wrote a couple corresponding tests as well.