Implement basic code completion for atoms. Fixes #9.