Improve warnings for bogus subproperty syntax.

Also print a warning when the first and only property uses
namespaced subproperty syntax.

Additionally truncate the name of the first property to
remove anything after the dot.

So that when somebody writes:

  /** @cfg foo.bar */

We print a warning and treat it as if he had written:

  /** @cfg foo */

Fixes: #341