Metadata initial PR

This is a PR to let you guys have a look at the code and run the tests. I'm getting 33 failing tests because of processing. :(
I still need to add the UI for most mandatory fields. but that is a minor thing (work-wise). 
see you tomorrow
Wouldn't this be better stored as an xml file on disk than in the code? Then you can open it with e.g. firefox and easily spot errors etc.