AnimalDB changes and fixes + buildscript update

Can someone merge the these AnimalDB changes?

I also updated the buildscript to reflect the name change to Molgenis_aps-legacy. That means that the buildscript now actually works in  vanilla checkouts of the repo, but not anymore in old checkouts where users updated the repo name, but did not change the actual folder names. 

see this: https://github.com/paraiko/molgenis_apps-legacy/commit/ec877d9261e014de4a54e8ed187376cf1270c667 commit