Added ind2sub(::AbstractArray, ::Integer)

As per request https://github.com/JuliaLang/julia/issues/294#issuecomment-65828607