Fix output paths and copy locals for test libraries.
Merge remote-tracking branch 'origin/master' into Revit2015