Improve file encrypt

Fixing issues #440 #665 and #677 (decrypt still misses VIEW intent feature)
This also adds the TokenAutoComplete lib as dependency.