rename ref to getindex, assign to setindex!
closes #1484, closes #907
there are aliases in deprecated.jl to ease the transition