Fix using this widget with Django 1.6 alpha 1

The ManyToOneRel needs a field parameter due to the multiple-join-fields
support that got added to the ORM. The admin scripts use a newer jQuery
version, detect which API to use.