avoid nesting of sources for generated code #310

A potential fix for https://github.com/mpeltonen/sbt-idea/issues/310 by ignoring any sourceManaged that are sub directories of managedSources.