add support for declaring extern classes

If you use some extern JavaScript that shouldn't be
compiled with your coffeescript, but still needs to
be referenced, you can now use the following syntax:

 #= extern Foo
correctly find `extends Foo.Bar`

Classes can be object properties, so let's find them correctly