Don't always treat period the same as slash

The canonical syntax uses slashes, but Jasmin allows periods in some
(but not all) places.

Also, this fixes .catch.
Fix annotations and other things
Lex comments after `.enclosing method`
Fix .inner class without class name

It would expect a class name, even though it is not required.

This also simplifies .attribute.