Fix dub.json and analyzer crashes

This PR fixes crashes on these codes:
```d
try { }
catch (shared(const(Error)) err) { } // caused segfault

data[0.5 .. 1.3] // caused ConvException
```

Also fixes compilation error with dub, and removes disused library configuration.