Avoid using bool() in the call to nnz.
bool(Complex) gives InexactError, which causes a whole bunch of stuff to break
Also add a test for sparse complex matrix construction.
Merge branch 'master' of github.com:JuliaLang/julia