Update how line references are handles

Removed reference service in favour of event emitters
Fixed creating issues
Updated diff, file, and graphh directive
Merge pull request #267 from reviewninja/feature/reference-update

Update how line references are handled