HUE-1619 [beeswax] Autocomplete should include 'star' in field list

Added * to field list
Moved array utils to external JS file
Fixed problem with empty columns
Fixed problem with 'FROM' special column name