Parses a query string and turns it into ARel