Changes to GBM trainer to take grid and training control objects.

List.files counterpart which relativizes the path and can take environment variables and
objects from .Rprofile to indicate where to search