allow a limit for delete_all

also do joins natively for mysql

both require https://github.com/rails/arel/pull/228