Generate source code from diagram

This adds a menu button "Generate source code" to both standalone application and eclipse plugin and then can generate .java files in correct packages. 

Content in .java files will be featured in a seperate pull request

This is part of implementing #2 and closes #3, #4 and #5