Closes #22 - Add analysis for duplicate function declarations

I mixed up some things in git and had to create another pull request.
Regarding checking duplication across this+imported files, I did some research and it's a little time consuming. 
I propose to create a separate issue for this feature. I'll try to do it anyway.