Separating XSLTs by VIVO Version, adding API 4.X Support

I wanted to share/contribute the work I have done so far. 
Didn't carry this debug output into the pull/4 feature branch. Do you find having debug output here to be generally helpful, or did you just use this for a specific debugging case?