Index line decorations by ids

And don’t use _.deepContains
Merge pull request #2888 from atom/bo-speedup-decoration-render

Index line-wise decorations by ids