FIX: use Rails 3 active record query interface
FIX: Add entry id to autocomplete results
NEW: Change autocomplete to take url param