Use fully-qualified class name to check parent.
Adding .settings to ignore list.
Merge pull request #2 from davidfmatheson/master

Plugin removes parent classes despite children being present (issue#2)
Fixed formatting issues. Updated commiters.
Set correct namespace for newly created member.