Added helpers getClassMetadata_ArrayOfStrings() and loadFileFromLocalContext
Changed loadTemplate() to search for partial when @partialInside is used

Also refactored some of the code, moved a few helpers into BuildTools etc