minor blas/matmul cleanup
add endof(), giving the last index (used by A[end]), now crucial for strings
make length(String) give character count. string[end] now also works.
closes #1939, closes #1454