Small Note code cleanup
Created by: riyad
Code cleanup for Note model
- override
noteableto also be able to returnCommit - remove
target - rename
commit?tofor_commit? - rename
line_note?tofor_diff_line? - add
==toStaticModel - update specs, helpers and views