Improve JavaScript support

The first view changes fix Django 1.5 compatibility issues.

In the last change I go overboard with trying to make the controls more usable from within JavaScript.

Note I have used 

* data("ai-autocomplete")  (jquery-ui 1.10)
* not data("autocomplete") (jquery-ui 1.9)
* not autocomplete( "instance" ) (jquery-ui 1.11 when release, see,  https://github.com/jquery/jquery-ui/commit/38c7b1ca814c59c48522cda6cfdf054c61773959)

I think the best way of resolving these version issues would be to extend the jquery-ui widget so we can override _renderItem directly.