standalone generation when language makes use of cross references

Hi Aaron.

I've made changes to the language definition for mydsl adding a cross reference and changed the test dsl model in the generator project so that it makes use of the example cross reference.

Also, I've added a shell script into the generator project that exectues the generator and at the moment causes an xtext exception to be thrown.

Cheers,

Alex