Add recipes for tern and tern-auto-complete

Closes #925