Fix typeahead when using Bootstrap 3

I added a typeahead option that works with the new typeahead library. You can use it the same way as typeahead or a simpler way as described in the examples.

$('input').tagsinput({
    typeahead: {
        remote: 'assets/query.json.html?q=%QUERY'
    },
    itemValue: 'value',
    itemText: 'text'
});