updated limit to accept 0 or greater values

limit(0) return all rows which isn't intuitive. limit($value) method will now accept 0 or greater values. this allows limit(0) to return zero rows. negative values are still not allowed.