Add addAfter(), addBefore(), first(), last() methods to AbstractQuery
Add addAfter(), addBefore(), first(), last() methods to AbstractQuery

Also refactor internal handling of indexed layouts

jdahlstrom/vquery