Added the Maven source jar generation plugin.
Updated .gitignore for the distribution module
Possible fix for #162. An Element can use a ref instead of name+type in its declaration. The Schema compare algorithm now takes this into account, using the name if available and the ref otherwise for comparing purposes.

 TODO: currently the method to get the name or ref is named getIdentification(). This naming is probably not appropriate, so any suggestions are welcome.