specialize length(SubString) for DirectIndexString
add tests for length(SubString{ASCIIString})
add "using Base.Test" to example code.
Merge pull request #7145 from catawbasam/master

specialize length(SubString) for DirectIndexString