Some basic JRuby compatibility changes
Fix intermittent test failure
Remove instructional comments from gemspec
Integrate with xapian-fu's weighting mechanism
Retrieve a list of ids and return in the given order

Would like to do this at the db level, but haven't found a good
db-agnostic way of doing it.