Created by: markwillis82
I have added modified the lookup function to allow "source" to be a function (passing a query parameter) to allow dynamic a item array.
Also updated docs + added a unit test.
This addresses my own issue with typeahead and also issue 1336