Added null check for project
If the ignoredProjects property is empty, I return the empty list

Avoids a lot of NullPointer checks along the way.
Registering the document after the ignore check
Merge pull request #74 from caiusb/bug-fix

Bug fix for 0.6
Fixed the file save bug
Merge pull request #75 from caiusb/file-save-bug

Fixed the file save bug
Merge branch 'refs/heads/master' into git