1d set/getindex for abstract sparse
ref #7023
reuse existing search methods
Merge pull request #7047 from tanmaykm/tanmaykm

1d set/getindex for abstract sparse
@timed: also include GC time as third returned value.
REPL history: seek to end before writing; print with sinlge call.

Even better would be if we could write lock the file before doing
this and then release the lock after, to guarantee that two REPL
processes can't write to it at the same time, but this is better.

Hopefully fix #7156.
mention angle function in manual (closes #7149)