fix single completion being interpreted as array of chars
add '.' to regex for identifiers in ace autocomplete

pretty hacky and it would be nice to contribute more general solutions
back to ace so we don't up with messy merges
artifacts