Add support for int, int?, long, and long?

Since rethinkdb translates down to float anyway, I just used double / double? for the actual value.