Autocomplete

Enabled the default ace editor autocomplete and implemented a completer to insert references to resources.