HUE-1409 [pig] Autocomplete table names

Refactored Hive autocomplete to external js file
Added HCatLoader autocomplete wizard to Pig that supports default db and any other db through dot